Bond deletion after pairing information removed from Android phone, how should the correct peer be selected for deletion?

Setup: SEGGER and running S112  & nRF5_SDK_17.1.0

Don't want to delete all bonds, only the specific one. 

Bonded with Android and Apple smart phone

Delete pairing information from Android phone

 

Start advertising again and attempt to pair again to Android Phone

 

[00:00:02.023,803] <info> app: Fast advertising.

[00:00:02.023,864] <info> peer_manager_handler: Connection security failed: role: Peripheral, conn_handle: 0x0, procedure: Bonding, error: 4352

[00:00:02.023,864] <warning> peer_manager_handler: Disconnecting conn_handle 0.

[00:00:02.023,864] <info> app:  CONN_SEC_FAILED is called for 0 FFFF

[00:00:02.023,864] <info> app: Disconnected

 

 

        case PM_EVT_CONN_SEC_FAILED:

            {

                 pm_peer_id_t peer_id;

                 err_code = pm_peer_id_get(p_evt->conn_handle, &peer_id);

                 err_code = pm_peer_delete(peer_id);

 

                 NRF_LOG_INFO(" CONN_SEC_FAILED is called for %X %X", p_evt->conn_handle, peer_id);

Parents Reply Children
No Data
Related