這是本文件的舊版!


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