EasyManua.ls Logo

TELINK SEMICONDUCTOR TLSR8232 - Blt_Ev_Flag_Conn_Para_Update; Blt_Ev_Flag_Suspend_Enetr; Blt_Ev_Flag_Suspend_Exit; Blt_Ev_Flag_Phy_Update

Default Icon
211 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1 70 Ver.1.0.0
Figure 3-21 LL_CONNECTION_UPDATE_REQ Format in BLE Stack
3.2.7.12 BLT_EV_FLAG_CONN_PARA_UPDATE
Event trigger condition: When Slave is in connection state, this event will be triggered if
Slave has updated connection parameters after it receives the
“LL_CONNECTION_UPDATE_REQ” from Master.
Data length “n”: 6.
Pointer “p”: p points to the new connection parameters after update, as shown below:
p[0] | p[1]<<8: new connection interval in unit of 1.25ms
p[2] | p[3]<<8: new connection latency
p[4] | p[5]<<8: new connection timeout in unit of 10ms
3.2.7.13 BLT_EV_FLAG_SUSPEND_ENETR
Event trigger condition: When Slave executes function “blt_sdk_main_loop”, this event
will be triggered before Slave enters suspend.
Pointer “p”: Null pointer.
Data length “n”: 0.
3.2.7.14 BLT_EV_FLAG_SUSPEND_EXIT
Event trigger condition: When Slave executes function “blt_sdk_main_loop”, this event
will be triggered after Slave is woken up from suspend.
Pointer “p”: Null pointer.
Data length “n”: 0.
Note: This callback is executed after SDK bottom layer executes “cpu_sleep_wakeup
and Slave is woke up, and this event will be triggered no matter whether the actual
wakeup source is gpio or timer. If the event “BLT_EV_FLAG_GPIO_EARLY_WAKEUP
occurs at the same time, for the sequence to execute the two events, please refer to
pseudo code in “Power Management – PM Working Mechanism”.
3.2.7.15 BLT_EV_FLAG_PHY_UPDATE
Event trigger condition: when Salve receives LL_PHY_UPDATE_IND PDU sent by
master and PHY is updated successfully, this event will be triggered.
Pointer “p”: p points to the updated Tx and Rx PHY. PHY could be the enum values
below:

Table of Contents