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
Post a Comment