saltstack/salt — pull request #6589 by techhat (2013-08-08 23:41:25+00:00)
Title: Overhaul (most of) bluez.py to work with BlueZ 5.7

BlueZ 4.x was current when this module was originally written. BlueZ 5.x makes life much easier. Pairing and Unpairing are still b0rked, and possibly should be removed (pairing is pretty much irrelevant at this point; instead, just connect to the device). Also, the ability to turn the bluetooth radio (power) on and off has been added, and toggling inquiry (discoverable) scans. A future pull request will include more functionality that the new bluetoothctl has.

Ref: http://www.bluez.org/bluez-5-api-introduction-and-porting-guide/