heihei1252 / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

error communicating with local bluetooth adapter on raspberry pi #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi i'm trying to run the basic inquiry.py on my raspberry but i run in this 
issue.. I tried with 2 bluetooth dongle and they work if i do sudo hcitool scan

This is the output i get when running inquiry.py

pi@raspberrypi ~ $ sudo python inquiry.py
performing inquiry...
Traceback (most recent call last):
  File "inquiry.py", line 12, in <module>
    nearby_devices = bluetooth.discover_devices(lookup_names = True)
  File "/usr/lib/python2.7/dist-packages/bluetooth/bluez.py", line 22, in discover_devices
    raise BluetoothError ("error communicating with local "
bluetooth.btcommon.BluetoothError: error communicating with local bluetooth 
adapter

Original issue reported on code.google.com by busodani...@gmail.com on 25 Jun 2013 at 3:26

GoogleCodeExporter commented 9 years ago
I have tried it on:
Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l 
GNU/Linux

Could You tell me which OS are You using(and bluez/pybluez version)?

Original comment by karu...@wp.pl on 1 Feb 2015 at 7:14

GoogleCodeExporter commented 9 years ago

Original comment by karu...@wp.pl on 7 Feb 2015 at 10:26