Data Sheet

- 21 -
4-4 General events
Event name
Type
Token
ParaLen
EventID
Parameters
Format
Comman
d
Complete
event
Synchronous
0xFF
0x03
corresponding to the
command
Rule:
eventID = (cmdID
& 0x03FF) | 0x0400
e,g, 0x0701
(cmdID=0xFF01,
corresponding to the
“Set Advertising
Interval” command)
Indicates status
information
Success: 0x00
Others: error
code, @ble_sts_t
e,g.
FF 03 01 07 00
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
0x03
0x070C
0x06
FF 03 0C 07 06
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