无法使用Python BLE库在Ubuntu上扫描设备

时间:2016-07-20 20:10:06

标签: python bluetooth-lowenergy bluez

我正在尝试使用Python BLE库在IOS和Ubuntu上连接我的BLE设备,现在它在IOS上运行良好,但是当它在调用时在Ubuntu上执行相同的脚本时总是失败#34; adapter.start_scan"被称为:

adapter.start_scan()
File "build/bdist.linux-x86_64/egg/Adafruit_BluefruitLE/bluez_dbus/adapter.py", line 69, in start_scan
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.bluez.Error.InProgress: Operation already in progress

我到处搜索,但仍然无法获得解决方案。任何人都可以帮我吗?

0 个答案:

没有答案