[Bluetooth pairing] psskey_confirm callback is not executing even after successful pairing


vikrant8051 <vikrant8051@...>
 

Hi,

static void auth_passkey_confirm(struct bt_conn *conn, unsigned int passkey)
{
    printk("\n\rauth_passkey_confirm !!\n\r");
}

static struct bt_conn_auth_cb auth_cb_display = {
    .passkey_display = auth_passkey_display,
    .passkey_entry = NULL,
    .cancel = auth_cancel,
    .passkey_confirm = auth_passkey_confirm,
};

I've edited samples/bluetooth/peripheral  as shown above.
But auth_passkey_confirm is not executing even after successful pairing.

Am I missing something ?

Thank You !!

Join users@lists.zephyrproject.org to automatically receive all group messages.