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

Why Nrf51DK gets disconnect entering wrong passkey

image descriptionHello Everyone,

I have been working on the NRF51DK by using proxmity examples as reference when i added the static passkey for the connection security it is working well after entering correct passkey its gets bonded and connected and also every service is performing well but if i enter the wrong passkey the device gets disconnected automatically and restart again , i have checked in my disconnect event i didnot find anuthing weird but i could not able to find the reason for this issue could anyone please suggest me what could be the possible reason for this issue any ideas or suggestions will be really helpful for me

Thank you

  • FormerMember
    0 FormerMember

    Could you use the sniffer to track what is being transferred after entering wrong passkey?

    Which device do you use as central?

  • Am using Android phone MCP as central i used to enter the password in the MCP if i enter corretly then it will gets connected unknowingly if i enter wrong password it gets disconnected automatically actually i tested with the ble_grs (glucose example also) if we enter correct password it remains conencted but wrong password immediately disconnected

  • FormerMember
    0 FormerMember

    1) It would be very useful if you could upload a sniffer trace.

    2) After the disconnect, what does the MCP log show? You can see the log by swiping to the right in MCP.

  • Hello Kristin thanks for your message i have tried with the blé_ app_ glucose exemple also for that example if i enter wrong password it will get disconnected

  • FormerMember
    0 FormerMember

    What does the MCP log show?

1 2 3