【发布时间】:2014-02-13 12:50:51
【问题描述】:
我正在尝试从 RaspPi 连接到 RedBearLab BLE shield。我在用 CSR4.0 USB加密狗http://www.adafruit.com/products/1327 带有 Raspbian OS 的 Raspberry Pi Rev-B 板 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]>
非常感谢!
【问题讨论】:
标签: bluetooth arduino raspberry-pi bluetooth-lowenergy bluez