Detect nearby beacons with Bluez

大憨熊 提交于 2019-12-12 04:27:00

问题


I installed Bluez and I am trying to scan and get UUID Major, Minor and if possible mac address for nearby ibeacon. I found similar questions and they refer to a script which I found here . When I launch the script I get this error

Set scan parameters failed: Input/output error

Did someone know how to solve the problem or has another solution ? If I start transmitting with the beacon and then I start the scan I get no result at all and I have to interrupt the script.


回答1:


You should test that the BlueZ installation is working properly on your Linux machine. Try using the hcitool dev command to see if it lists attached devices properly.

You may want to refer to a BlueZ installation guide like this one for Ubuntu to verify that you have your dongle set up properly.



来源:https://stackoverflow.com/questions/40019975/detect-nearby-beacons-with-bluez

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!