[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bluez and bluethoot dongle -- help.



Hi following the error message that I am getting when I try to scan the 
bluetooth devices nearby with a python program. 


sranjit@ranlinux:~/pybluez/pybluez-0.5/examples/simple$ python inquiry.py
performing inquiry...
Traceback (most recent call last):
  File "inquiry.py", line 13, in ?
    nearby_devices = bluetooth.discover_devices()
  File "/usr/local/lib/python2.3/site-packages/bluetooth.py", line 172, in 
discover_devices
    raise BluetoothError("error communicating with local bluetooth device")
bluetooth.BluetoothError: error communicating with local bluetooth device
sranjit@ranlinux:~/pybluez/pybluez-0.5/examples/simple$ hcitool scan





ranlinux:/home/sranjit# hciconfig -a
hci0:   Type: USB
        BD Address: 00:20:E0:CC:2B:8D ACL MTU: 192:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:1570 acl:0 sco:0 events:41 errors:0
        TX bytes:409 acl:0 sco:0 commands:30 errors:0
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
Can't read local name on hci0: Connection timed out (110)



Reply to: