Scanning leads to this error:
Traceback (most recent call last):
File "proximity.py", line 466, in cb_btnScan_clicked
macs = self.proxi.get_device_list()
File "proximity.py", line 735, in get_device_list
nearby_devices = bluetooth.discover_devices()
File "/usr/lib/python2.5/site-packages/bluetooth.py", line 277, in discover_devices
raise BluetoothError("error communicating with local "
bluetooth.BluetoothError: error communicating with local bluetooth adapter
if the already entered BT address is unreachable and not empty. It seems that the BT adapter is kind of in use trying to connect to that device and we are not to disturb it during that period. (Either that or there is actually a good function hidden somewhere that allows us to do exactly that.)
Log in to post a comment.