Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
66
Ver.1.0.0
Data length “n”: 34.
Pointer
“p”: p points to one 34-byte RAM area, corresponding to the “connect request
PDU
” below.
Figure 3-20 Connect Request PDU
Please refer to “rf_packet_connect_t” defined in “ble_common.h”. In the structure below,
the connect request PDU is from scanA[6] (corresponding to InitA in
) to hop.
typedef struct
{
u32
dma_len
;
u8
type
;
u8
rf_len
;
u8
scanA
[6];
u8
advA
[6];
u8
accessCode
[4];
u8
crcinit
[3];
u8
winSize
;
u16
winOffset
;
u16
interval
;
u16
latency
;
u16
timeout
;
u8
chm
[5];
u8
hop
;
}
rf_packet_connect_t
;
3.2.7.5 BLT_EV_FLAG_TERMINATE
Event trigger condition: This event will be triggered when Link Layer state machine exits
Conn state Slave role in any of the three specific cases.
Pointer
“p”: p points to an u8-type variable “terminate_reason”. This variable indicates the
reason for disconnection of Link Layer.