python - PyBluez does not detect the built-in bluetooth adapter -


i want start developing tools let me communicate between phone , computer via bluetooth, , want use python it. installed python bluetooth module (pybluez), not detect built in bt adapter (i'm on toshiba satellite a300).

import bluetooth nearby_devices = bluetooth.discover_devices()  print(nearby_devices) 

returns following error:

traceback (most recent call last):   file "c:/python26/bt.py", line 3, in <module>     nearby_devices = bluetooth.discover_devices()   file "c:\python26\lib\site-packages\bluetooth\msbt.py", line 9, in discover_devices     return bt.discover_devices (flush_cache, lookup_names) ioerror: no bluetooth adapter detected 

any help?

pybluez uses ms bluetooth driver stack , widcom windows, linux uses bluez. if laptop has different stack normal not work.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -