IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.59k stars 491 forks source link

Not Supported error #395

Closed gemixin closed 4 years ago

gemixin commented 4 years ago

I keep getting the following error when running code using BluePy on Raspbian (Pi):

File "/usr/local/lib/python3.7/dist-packages/bluepy/btle.py", line 312, in _mgmtCmd  
raise BTLEManagamentError""Failed to execute management command 'le on' (code: 12, error: Not Supported)

If I run bluepy-helper and type le on I get:

rsp=$mgmt code-$mgmt errstat=hAVe msg='Not Supported

Any ideas where I am going wrong? I have manually installed Bluez and used pip3 install bluepy for BluePy.

gemixin commented 4 years ago

Going to try a new Bluetooth adapter as I think my current one doesn't support BLE which would explain the error.