
Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
69
Ver.1.0.0
For definitions of the parameters
above, please refer to the return value “int” of the API in
“Power Management”:
int cpu_sleep_wakeup (int deepsleep, int wakeup_src, u32 wakeup_tick);
3.2.7.9 BLT_EV_FLAG_CHN_MAP_REQ
Event trigger condition: When Slave is in Conn state, if Master needs to update current
connection channel list, it will sen
d a “LL_CHANNEL_MAP_REQ” command to Slave;
this event will be triggered after Slave receives this request from Master and has not
processed the request yet.
Data length “n”: 5.
Pointer
“p”: p points to the starting address of the following channel list array.
unsigned char type/ bltc.conn_chn_map[5]
Please note that when the callback function is executed, p points to the old channel map
which is not updated.
Five bytes are used in
“conn_chn_map” to represent current channel list by mapping.
Each bit represents a channel:
conn_chn_map[0] bit0-bit7 represent channel0-channel7 respectively.
conn_chn_map[1] bit0-bit7 represent channel8-channel15 respectively.
conn_chn_map[2] bit0-bit7 represent channel16-channel23 respectively.
conn_chn_map[3] bit0-bit7 represent channel24-channel31 respectively.
conn_chn_map[4] bit0-bit4 represent channel32-channel36 respectively.
3.2.7.10 BLT_EV_FLAG_CHN_MAP_UPDATE
Event trigger condition: When Slave is in connection state, this event will be triggered if
Slave has updated chann
el map after it receives the “LL_CHANNEL_MAP_REQ”
command from Master.
Pointer
“p”: p points to the starting address of the new channel map conn_chn_map[5]
after update.
Data length “n”: 5.
3.2.7.11 BLT_EV_FLAG_CONN_PARA_REQ
Event trigger condition: When Slave is in connection state (Conn state Slave role), if
Master needs to update current connection parameters, it will send a
“LL_CONNECTION_UPDATE_REQ” command to Slave; this event will be triggered after
Slave receives this request from Master and has not processed the request yet.
Data length “n”: 11.
Pointer
“p”: p points to the 11-byte PDU of the LL_CONNECTION_UPDATE_REQ, as
shown below.