sl_bt_evt_sm_confirm_passkeySecurity Manager#

Indicates a request for passkey display and confirmation by the user.

Data Structures#

struct

sl_bt_evt_sm_confirm_passkey_s

Data structure of the confirm_passkey event.

Macros#

# define

sl_bt_evt_sm_confirm_passkey_id 0x020f00a0

Identifier of the confirm_passkey event.

Detailed Description#

Indicates a request for passkey display and confirmation by the user.

Use the command sl_bt_sm_passkey_confirm to accept or reject the displayed passkey.


Data Structure Documentation#

◆ sl_bt_evt_sm_confirm_passkey_s#

struct sl_bt_evt_sm_confirm_passkey_s#

Data structure of the confirm_passkey event.

Data Fields

uint8_t

connection

Connection handle

uint32_t

passkey

Passkey. Range: 0 to 999999.

  • NOTE! When displaying the passkey to the user, prefix the number with zeros to obtain a 6 digit number

  • Example: Passkey value is 42

  • Number to display to the user is 000042