Data structure of the closed event.

Public Attributes#

uint16_t
uint8_t

Public Attribute Documentation#

reason#

uint16_t sl_bt_evt_connection_closed_s::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.


Definition at line 7026 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h

connection#

uint8_t sl_bt_evt_connection_closed_s::connection

Handle of the closed connection


Definition at line 7033 of file /mnt/raid/workspaces/ws.XK183xwsq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h