I know one way, write characteristic and remote CC2540 can get this data.
but this way can send one byte per timers.
any other way??
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.
Maybe follow way can work,but how to get this data at remote cc2540
[6] : <Tx> - 10:26:47.750
-Type : 0x01 (Command)
-Opcode : 0xFD9B (GATT_Notification)
-Data Length : 0x0A (10) byte(s)
ConnHandle : 0x0000 (0)
Authentic : 0x00 (No)
Handle : 0x0000 (0)
Value : 00:00:01:02:03:04
Dump(Tx):
01 9B FD 0A 00 00 00 00 00 00 01 02 03 04
------------------------------------------------------------------------------------------------------------------------
[7] : <Rx> - 10:26:47.812
-Type : 0x04 (Event)
-EventCode : 0xFF (HCI_LE_ExtEvent)
-Data Length : 0x06 (6) bytes(s)
Event : 0x067F (GAP_HCI_ExtentionCommandStatus)
Status : 0x00 (Success)
OpCode : 0xFD9B (GATT_Notification)
DataLength : 0x00 (0)
Dump(Rx):
04 FF 06 7F 06 00 9B FD 00