sl_bt_evt_connection_opened#

Indicates that a new connection was opened.

The specific semantics depend on the role of the device:

  • On the central device (parameter master set to sl_bt_connection_role_central) the event is triggered when the Link Layer has sent a connect request to the remote device.

  • On the peripheral device (parameter master set to sl_bt_connection_role_peripheral) the event is triggered when the Link Layer has responded to the connect request of the remote device.

This event does not indicate the connection has been established (i.e., that a data packet was received within 6 connection intervals). If the connection is not established, an sl_bt_evt_connection_closed event will immediately follow.

An open connection can be closed with sl_bt_connection_close command by giving the connection handle obtained from this event.

Modules#

sl_bt_evt_connection_opened_s

Macros#

#define

Identifier of the opened event.

Typedef Documentation#

sl_bt_evt_connection_opened_t#

typedef struct sl_bt_evt_connection_opened_s sl_bt_evt_connection_opened_t

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

Macro Definition Documentation#

sl_bt_evt_connection_opened_id#

#define sl_bt_evt_connection_opened_id
Value:
0x000600a0

Identifier of the opened event.


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