This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
通过与HOST的通讯,见下列信息!
187] : <Tx> - 03:32:47.781
-Type : 0x01 (Command)
-Opcode : 0xFD8A (GATT_ReadCharValue)
-Data Length : 0x04 (4) byte(s)
ConnHandle : 0x0000 (0)
Handle : 0x0003 (3)
Dump(Tx):
01 8A FD 04 00 00 03 00
------------------------------------------------------------------------------------------------------------------------
[188] : <Rx> - 03:32:47.796
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (Success)
OpCode : 0xFD8A (GATT_ReadCharValue)
DataLength : 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 8A FD 00
------------------------------------------------------------------------------------------------------------------------
[189] : <Rx> - 03:32:48.921
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x1B (27) bytes(s)
Event : 0x050B (ATT_ReadRsp)
Status : 0x00 (Success)
ConnHandle : 0x0000 (0)
PduLen : 0x15 (21)
Value : 53 69 6D 70 6C 65 20 42 4C 45 20 50 65 72 69 70 68 65 72 61 6C
Dump(Rx):
04 FF 1B 0B 05 00 00 00 15 53 69 6D 70 6C 65 20
42 4C 45 20 50 65 72 69 70 68 65 72 61 6C
是通过主机发出需要访问Handle所对应地址的数据,然后从机先应答,然后给出数据,是这样理解吗?
在simpleBLEPeripheral里面程序是怎么响应主机的TX的呢?这个部分需要详细解答一下,谢谢!