hcitool scan
python
import bluetooth
sock=bluetooth.BluetoothSocket( bluetooth.RFCOMM ) sock.connect((<btaddr>, 1))
sock.recv(2048)
sock.close()