Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Turn On/Off Bluetooth Stack

Turn On Bluetooth

  1. Start Bluetooth daemon:
/libexec/bluetooth/bluetoothd &
  1. Reset HCI interface:
hciconfig hci0 down
hciconfig hci0 up
  1. 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

Turn Off Bluetooth

  1. 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
  1. Stop Bluetooth daemon:
killall bluetoothd