Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
204
Ver.1.0.0
Event name
Type
Token
ParaLen
EventID
Parameters
Format
e,g, 0x0701
(cmdID=0xFF01,
corresponding to the
“Set Advertising
Interval” command)
Data received
event
Asynchronous
0xFF
Variable:
n+2
Eg.If
n=6, Len
is 0x08
0x07A0
data
(indicates
received data, n
bytes)
Eg. 01, 02, 03, 04,
05, 06
e.g.
FF 08 A0 07
01 02 03 04
05 06
Get Available
Buffer Num
Event
Asynchronous
0xFF
0x04
0x070C
State
:
0x00: OK
other: Fail
Buffer Size
:
1Byte
Eg:
state = 0x00
Buffer Size = 0x04
e.g.
FF 03 0C 07
00 04
Connection
Event
Asynchronous
0xFF
0x02
0x0783
NA
FF 02 83 07
Terminate
Event
Asynchronous
0xFF
0x02
0x0784
NA
FF 02 84 07
Channel map
change Event
Asynchronous
0xFF
0x02
0x078a
NA
FF 02 8a 07
Connection
parameter
update Event
Asynchronous
0xFF
0x02
0x078b
NA
FF 02 8b 07
Get Module
Current Work
State
Asynchronous
0xFF
0x04
0x0716
No connected:
0x0100
e.g.
FF 04 0716
00 01