我正在尝试从RaspPi连接到RedBearLab BLE盾。我使用的是CSR4.0USB加密狗http://www.adafruit.com/products/1327 Raspberry Pi Rev-B板和Raspbian OS Bluez-5.11
我已经把RedBearLab BLE防护罩连接到Arduino UNO R3了。我正在尝试从RaspPi连接到屏蔽(附在CSR4.0上)。但它无法连接-连接尝试超时/资源繁忙。
下面是我使用的步骤
$ sudo hcitool lescan
LE Scan ...
xx:xx:xx:xx:xx:xx BLE Shield
$ sudo hcitool lecc xx:xx:xx:xx:xx:xx无法创建连接:连接超时
使用gatttool也不能解决问题
$ sudo gatttool -b xx:xx:xx:xx:xx:xx --interactive
[ ][xx:xx:xx:xx:xx:xx][LE]> **connect**
Attempting to connect to xx:xx:xx:xx:xx:xx
Error: connect error: Device or resource busy (16)
[xx:xx:xx:xx:xx:xx][LE]>非常感谢!
发布于 2014-01-23 15:45:19
您的适配器似乎正忙。有东西在使用它。是否有任何其他设备连接到您的适配器?尝试使用以下命令重置适配器:
$ sudo hciconfig hci0 reset发布于 2016-05-03 03:50:03
某些BLE设备在连接时需要随机地址。尝试:
sudo gatttool -t random -b xx:xx:xx:xx:xx:xx --interactivehttps://stackoverflow.com/questions/21300283
复制相似问题