這是本文件的舊版!
yaourt -S btscanner pacman -S bluez-utils
hciconfig hciconfig hci0 up hcitool scan l2ping MAC btscanner
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
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/