Support for Bluetooth (using Bluez in Linux)
Get the many addresses of the Bluetooth adapter
CLI Example:
salt '*' bluetooth.address
Pair the bluetooth adapter with a device
CLI Example:
salt '*' bluetooth.pair DE:AD:BE:EF:CA:FE 1234
Where DE:AD:BE:EF:CA:FE is the address of the device to pair with, and 1234 is the passphrase.
Scan for bluetooth devices in the area
CLI Example:
salt '*' bluetooth.scan
Start the bluetooth service.
CLI Example:
salt '*' bluetooth.start
Stop the bluetooth service.
CLI Example:
salt '*' bluetooth.stop
Unpair the bluetooth adapter from a device
CLI Example:
salt '*' bluetooth.unpair DE:AD:BE:EF:CA:FE
Where DE:AD:BE:EF:CA:FE is the address of the device to unpair.
Return Bluez version from bluetoothd -v
CLI Example:
salt '*' bluetoothd.version