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#
Typedefs#
Macros#
Identifier of the opened event.