Scan devices
hcitool scan
From: https://askubuntu.com/a/450751/269279 We can nicely control our Bluetooth device with the command line tool hciconfig.
To enable visibility:
sudo hciconfig hciX piscan
To disable visibility:
sudo hciconfig hciX noscan
Replace hciX
with your device (usually hci0
)
To query your Bluetooth device(s):
sudo hciconfig -a