sl_bt_evt_connection_closedConnection

Indicates that a connection was either closed or that no connection was established from a high duty cycle directed advertising.

Data Structures

struct  sl_bt_evt_connection_closed_s
 Data structure of the closed event.
 

Macros

#define sl_bt_evt_connection_closed_id   0x010600a0
 Identifier of the closed event.
 

Detailed Description

Indicates that a connection was either closed or that no connection was established from a high duty cycle directed advertising.


Data Structure Documentation

◆ sl_bt_evt_connection_closed_s

struct sl_bt_evt_connection_closed_s

Data structure of the closed event.

Data Fields
uint16_t reason

Reason of connection close.

Error code SL_STATUS_BT_CTRL_ADVERTISING_TIMEOUT indicates that the high duty cycle directed advertising timed out and no connection was established. Ignore the value of connection in this case.

uint8_t connection

Handle of the closed connection