HCI LE连接 - 不允许命令

时间:2015-12-11 02:06:56

标签: raspberry-pi bluetooth-lowenergy raspbian hci

我正在使用贵族和bleno通过node.js从Rasbian连接到BLE外设,但出现了问题并且无法建立连接。我尝试了多个不同的BLE加密狗,它们都以同样的方式失败。目前我附加了CSR 4.0。 从OS X,iOS或Android制作时,连接工作正常。

这是HCI Dump:

2015-11-22 18:36:54.732907 < HCI Command: LE Create Connection (0x08|0x000d) plen 25
bdaddr 00:12:6F:6B:C7:32 type 0
interval 96 window 48 initiator_filter 0
own_bdaddr_type 0 min_interval 6 max_interval 12
latency 0 supervision_to 200 min_ce 4 max_ce 6

2015-11-22 18:36:54.734511 > HCI Event: Command Status (0x0f) plen 4
LE Create Connection (0x08|0x000d) status 0x0c ncmd 1
Error: Command Disallowed

现在,当我尝试通过hcitool leccgatttool建立连接时,仍尝试使用Characteristic Write Request failed: Attribute requires authentication before read/write来尝试编写特征值。这有关系吗?

我在Linux raspberrypi 4.1.13+ #826 PREEMPT Fri Nov 13 20:13:22 GMT 2015 armv6l GNU/Linux

0 个答案:

没有答案