This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ANCS does not piar after deleting bond information in iphone.

I'm testing with pca10028, ASCS(SDK11.0.0) example and iphone.

But pca10028 does not piar after deleting piaring information in iphone.

"[DM]: !!! Bond/key refresh !!!" message appears.

Then when I enter sleep mode by pressing button 1 and delete bond information in pca10028 by pressing button 2, it's paired again.

why is this happenning??

Why can not pca10028 recognize new device right after I deleted bond information in iphone(not, pca10028)?

I think pca10028 should recognize as new device because IRK distributed is changed.

Parents
  • The device manager in SDK 11 rejects new pairing requests from peer centrals that are already bonded to impeded the bonding information from being updated by an attacker. You can diff the device manager in SDK 11 with the one in SDK 10 if you want to revert this change.

  • Hi, with peer manage it is enough to change this command line:

      case PM_EVT_CONN_SEC_CONFIG_REQ:
         {
         // Reject pairing request from an already bonded peer.
         pm_conn_sec_config_t conn_sec_config = {.allow_repairing = false};
         pm_conn_sec_config_reply(p_evt->conn_handle, &conn_sec_config);
         }
         break;//PM_EVT_CONN_SEC_CONFIG_REQ
    

    setting the allow.reparing in true.Correct? But i'm very curious about this situation. I expect that if i delete the bonding information the peer manager don't remember that thsi device was bonded in the past.

    is there a tutorial that can be descrive this situation?

    Thanks, Anna

Reply
  • Hi, with peer manage it is enough to change this command line:

      case PM_EVT_CONN_SEC_CONFIG_REQ:
         {
         // Reject pairing request from an already bonded peer.
         pm_conn_sec_config_t conn_sec_config = {.allow_repairing = false};
         pm_conn_sec_config_reply(p_evt->conn_handle, &conn_sec_config);
         }
         break;//PM_EVT_CONN_SEC_CONFIG_REQ
    

    setting the allow.reparing in true.Correct? But i'm very curious about this situation. I expect that if i delete the bonding information the peer manager don't remember that thsi device was bonded in the past.

    is there a tutorial that can be descrive this situation?

    Thanks, Anna

Children
No Data
Related