sl_bt_evt_sm_bondedSecurity Manager#

Triggered after the pairing or bonding procedure is successfully completed.

Data Structures#


struct | sl_bt_evt_sm_bonded_s | Data structure of the bonded event.

Macros#


define | sl_bt_evt_sm_bonded_id 0x030f00a0#

| Identifier of the bonded event.

Detailed Description#

Triggered after the pairing or bonding procedure is successfully completed.


Data Structure Documentation#

◆ sl_bt_evt_sm_bonded_s#

struct sl_bt_evt_sm_bonded_s#

Data structure of the bonded event.

Data Fields#

uint8_t | connection |

Connection handle

uint8_t | bonding |

Bonding handle. Values:

  • SL_BT_INVALID_BONDING_HANDLE (0xff): Pairing completed without bonding - the pairing key will be discarded after disconnection.

  • Other: Procedure completed, pairing key stored with given bonding handle

uint8_t | security_mode |

Enum sl_bt_connection_security_t. Connection security mode. Values:

  • sl_bt_connection_mode1_level2 (0x1): Unauthenticated pairing with encryption

  • sl_bt_connection_mode1_level3 (0x2): Authenticated pairing with encryption

  • sl_bt_connection_mode1_level4 (0x3): Authenticated Secure Connections pairing with encryption using a 128-bit strength encryption key