EasyManua.ls Logo

TELINK SEMICONDUCTOR TLSR8232 - SMP Event; Blt_Ev_Flag_Pairing_Begin

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 111 Ver.1.0.0
Figure 3-47 Pairing Conn Trigger
3) encrypt_en = SMP_PARING_PEER_TRRIGER;
It indicates current device won’t actively intiate pairing request, and it will only
respond to the pairing request from peer device. If peer device does not send pairing
request, current device won’t implement encrypted pairing.
As shown below, Slave will respond to the “SM_Pairing_Req” from Master, but won’t
actively initiate pairing request.
Figure 3-48 Pairing Peer Trigger
Note: This function can only be called before connection. It’s recommended to call this
function in initialization.
3.5.3 SMP Event
As introduced in Controller part, except for Telink defined events, there are some SMP
events, e.g. “BLT_EV_FLAG_PAIRING_BEGIN”, “BLT_EV_FLAG_PAIRING_END”.
3.5.3.1 BLT_EV_FLAG_PAIRING_BEGIN
Event trigger condition: When Slave just establishes connection with Master and enters
connection state, Slave sends “SM_Security_Req” command, and then Master sends
SM_Pairing_Req” to request for pairing. After Slave receives this pairing request, this
event will be triggered to indicate pairing starts.
Figure 3-49 Pairing_Req Sent From Master
Pointer “p”: Null pointer.
Data length “n”: 0.

Table of Contents