sl_bt_evt_external_bondingdb_data_requestExternal Bonding Database#

Indicates that the Bluetooth stack requests the bonding data of a connection from the external bonding database.

Data Structures#


struct | sl_bt_evt_external_bondingdb_data_request_s
| Data structure of the data_request event.

Macros#


#define | sl_bt_evt_external_bondingdb_data_request_id 0x005c00a0
| Identifier of the data_request event.

Detailed Description#

Indicates that the Bluetooth stack requests the bonding data of a connection from the external bonding database.

The application must respond by setting bonding data using the sl_bt_external_bondingdb_set_data command.

The Bluetooth stack will send this event one or more times after a connection is open following the sl_bt_evt_connection_opened event to get ready for security related operations.


Data Structure Documentation#

◆ sl_bt_evt_external_bondingdb_data_request_s#

struct sl_bt_evt_external_bondingdb_data_request_s#

Data structure of the data_request event.

Data Fields#

uint8_t | connection |

Connection handle

uint8_t | type |

Enum sl_bt_external_bondingdb_data_t. The requested bonding data type. Values:

  • sl_bt_external_bondingdb_data_remote_address (0x0): Identity address of the remote device, which a resolvable random address can be resolved to

  • sl_bt_external_bondingdb_data_remote_address_type (0x1): Type of the remote device identity address. Value 0 is public device address and 1 is static device address

  • sl_bt_external_bondingdb_data_remote_ltk (0x2): Long Term Key (LTK) used as central device. The value of this type must be stored securely.

  • sl_bt_external_bondingdb_data_local_ltk (0x3): Long Term Key (LTK) used as peripheral device. The value of this type must be stored securely.

  • sl_bt_external_bondingdb_data_remote_central_inf (0x4): Identification info used as a central device

  • sl_bt_external_bondingdb_data_local_central_inf (0x5): Identification info used as a central device

  • sl_bt_external_bondingdb_data_irk (0x6): Identity Resolving Key (IRK) of the remote device that is used for resolving its RPA addresses when the device is in privacy mode. The value of this type must be stored securely.

  • sl_bt_external_bondingdb_data_meta (0x7): Metadata about the bonding

  • sl_bt_external_bondingdb_data_gatt_client_config (0x8): The remote GATT client characteristic configurations

  • sl_bt_external_bondingdb_data_gatt_client_features (0x9): The remote GATT client supported features

  • sl_bt_external_bondingdb_data_gatt_db_hash (0xa): Latest local GATT database hash value that the remote client has seen for GATT robust caching feature