這是本文件的舊版!
required software
yaourt -S btscanner pacman -S bluez-utils
discoverable
dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:discoverable hciconfig hci0 piscan
hide
dbus-send --system --dest=org.bluez /org/bluez/hci0 org.bluez.Adapter.SetMode string:off hciconfig hci0 noscan
scan
hciconfig hciconfig hci0 up hcitool scan l2ping MAC btscanner
sudo bluetoothctl agent on default-agent pair MAC connect MAC
參考 https://wiki.debian.org/BluetoothUser http://shyuanliang.blogspot.tw/2014_10_01_archive.html https://github.com/karulis/pybluez https://www.cnet.com/how-to/how-to-setup-bluetooth-on-a-raspberry-pi-3/