我能够成功地从我的nucleo-64板上与我的IDB05A1进行通信。
我让它可被发现并将我的手机连接到它。但是,配对后立即断开设备与手机的连接。 在断开连接之前,我收到一个无法破译的HCI事件:
0x04 0xff 0x0b 0x01 0x0c 0x01 0x08 0x04 0x00 0x02 0x00 0x00 0x02 0x00
请帮我解读这个。 datasheet with commands and events
0x04 //HCI event
0xff //Vendor specific
0x0b //Contains 0b(12) bytes
0x01, 0x0c //BLUEnrg event code
0x......
这是什么事?
答案 0 :(得分:0)
此事件与问题无关。 它表示某些属性的修改值。
HCI事件包:
0x04 //HCI event
0xff //Vendor specific
0x0b //Contains 0b(11) bytes
0x01 0x0c 0x01 0x08 0x04 0x00 0x02 0x00 0x00 0x02 0x00 //Event data
活动数据:
0x0c01 //ACI_GATT_ATTRIBUTE_MODIFIED_EVENT
0x0801 //The connection handle which modified the attribute
0x0004 //Handle of the attribute that was modified
0x0002 //Length of the attribute data
0x00 //Offset
0x0002 //The modified value