Detect nearby beacons with Bluez

2019-09-07 04:25发布

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条回答
兄弟一词,经得起流年.
2楼-- · 2019-09-07 04:51

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.

查看更多
登录 后发表回答