nRF5340 have to reset device to try consecutive pairing attempt on cancel or timeout of attempt from iOS

Hello,

On a pairing failure from iOS (either cancel or timeout of the pairing dialog alert "Bluetooth Pairing Request"), the device no longer allows pairing until a software reset is issued. It does seem to clear keys properly when it fails though...There must be some weird cache thing happening but I don't see anything obvious in the SDK code.

Parents
  • How does the iOS log look when trying to do this? Are you able to reconnect at all or does it fail before the connection is established on the first step. Do you also forget the device on the iOS side to make sure there aren't any artifacts left there. What SDK version are you using for development here? The pairing failed reason doesn't seem to specifically point to a timeout, so have you done any debugging on your end on what is failing. It seems to me it fails after you have disconnected and deleted the pairing info.

    Best regards,

    Simon

Reply
  • How does the iOS log look when trying to do this? Are you able to reconnect at all or does it fail before the connection is established on the first step. Do you also forget the device on the iOS side to make sure there aren't any artifacts left there. What SDK version are you using for development here? The pairing failed reason doesn't seem to specifically point to a timeout, so have you done any debugging on your end on what is failing. It seems to me it fails after you have disconnected and deleted the pairing info.

    Best regards,

    Simon

Children
No Data
Related