Data structure of the opened event.
Public Attribute Documentation#
address#
bd_addr sl_bt_evt_connection_opened_s::address
Remote device address
6393
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h
address_type#
uint8_t sl_bt_evt_connection_opened_s::address_type
Enum sl_bt_gap_address_type_t. Remote device address type. Values:
sl_bt_gap_public_address (0x0): Public device address
sl_bt_gap_static_address (0x1): Static device address
sl_bt_gap_random_resolvable_address (0x2): Resolvable private random address
sl_bt_gap_random_nonresolvable_address (0x3): Non-resolvable private random address
sl_bt_gap_public_address_resolved_from_rpa (0x4): Public identity address resolved from a resolvable private address (RPA)
sl_bt_gap_static_address_resolved_from_rpa (0x5): Static identity address resolved from a resolvable private address (RPA)
6394
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h
master#
uint8_t sl_bt_evt_connection_opened_s::master
Device role in connection. Values:
0: Peripheral
1: Central
6411
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h
connection#
uint8_t sl_bt_evt_connection_opened_s::connection
Handle for new connection
6414
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h
bonding#
uint8_t sl_bt_evt_connection_opened_s::bonding
Bonding handle. Values:
SL_BT_INVALID_BONDING_HANDLE (0xff): No bonding
Other: Bonding handle
6415
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h
advertiser#
uint8_t sl_bt_evt_connection_opened_s::advertiser
The local advertising set that this connection was opened to. Values:
SL_BT_INVALID_ADVERTISING_SET_HANDLE (0xff): Invalid value or not applicable. Ignore this field
Other: The advertising set handle
6419
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h
sync#
uint16_t sl_bt_evt_connection_opened_s::sync
The sync handle if the local device is in the peripheral-role and the connection was opened via a Periodic Advertising with Responses (PAwR) train that the local device has synchronized to. Values:
SL_BT_INVALID_SYNC_HANDLE (0xffff): The connection was not opened over a PAwR train that the local device is synchronized to
Other: The sync handle for the PAwR train that was used to open the connection
6425
of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h