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

nRF52832,SDK13.0 ,s132,connect(bonding) failed

hello! i have a problem ,when the Master send Slave SMP 37 Rcvd Pairing Request: Bonding, MITM, Initiator Key(s): LTK IRK CSRK , Responder Key(s): LTK IRK CSRK,but the slave didn't responds anything,why? i compared with normal(left) and  abnormal(ritght) flash from 0x71000 to 0x71FFF as flow pictrue 1,and when i  used the  red zone of normal replace the red zone  of abnormal, and it worked,connected(bonding) suceed, i am very confuse abut this?

                                    picture 1

  • Hi,

    It looks to me like you are comparing a empty FDS flash page on the left side, and a populated FDS page on the right side. Therefore it is tempting to believe that the error you are seeing is because you are trying to re-pair with a device (phone) that was already paired. That is not allowed by the peer manager by default. If that is the problem then you should either delete the bond on the nRF side as well before attempting to repair, or you should configure the Peer manager to allow repairing. The latter can be done by setting .allow_repairing = true in the handling of the PM_EVT_CONN_SEC_CONFIG_REQ event in your application.

    Br,

    Einar

Related