nRF52832 using pairing connection with Android phone,after repeatedly connect and disconnect will make the phone's bondibng information deleted

Hi ,

nRF52832 using pairing connection with Android phone,after repeatedly disconnect and re-connect ,after several minutes will maybe make the phone's bondibng information deleted.

Could you please help to tell what maybe cause this?

I try the that the encryption_failure() function will delete the phone side's bonding data,but not sure.

Parents
  • Hello,

    ''nRF52832 using pairing connection with Android phone,after repeatedly disconnect and re-connect, after several minutes will maybe make the phone's bondibng information deleted.''

    Did you mean you had bonded connection between nRF52832 DK and the your android phone at first, then there is no bonded pairing? I am not clear about this statement. 

    ''I try the that the encryption_failure() function will delete the phone side's bonding data,but not sure.'' Could you please show us the code snippet and the output log of this?

    Thanks.

    BR

    Kazi

  • I don't want the phone to automatically delete the bonding information. How do I change my code? I know that the softdevice sends LL_REJECT_IND or LL_REJECT_EXT_IND, and the error code is "PIN or key missing". Generally, after receiving this PDU, the phone will automatically delete the bonding information, so I want to block all the codes that may trigger the phone to automatically delete the bonding information.

Reply
  • I don't want the phone to automatically delete the bonding information. How do I change my code? I know that the softdevice sends LL_REJECT_IND or LL_REJECT_EXT_IND, and the error code is "PIN or key missing". Generally, after receiving this PDU, the phone will automatically delete the bonding information, so I want to block all the codes that may trigger the phone to automatically delete the bonding information.

Children
No Data
Related