- Start Bluetooth daemon:
/libexec/bluetooth/bluetoothd &
- Reset HCI interface:
hciconfig hci0 down
hciconfig hci0 up
- Power on the Bluetooth adapter:
dbus-send --system --print-reply \
--dest=org.bluez \
/org/bluez/hci0 \
org.freedesktop.DBus.Properties.Set \
string:org.bluez.Adapter1 \
string:Powered \
variant:boolean:true
- Power off the adapter:
dbus-send --system --print-reply \
--dest=org.bluez \
/org/bluez/hci0 \
org.freedesktop.DBus.Properties.Set \
string:org.bluez.Adapter1 \
string:Powered \
variant:boolean:false
- Stop Bluetooth daemon:
killall bluetoothd