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

Generator of "Passkey" in "LE Secure Connections"

I want to realize "LE Secure Connection" with "Passkey Entry" or "Numeric Comparison".
I know that "passkey" is obtained in the "BLE_GAP_EVT_PASSKEY_DISPLAY" event.
Who produces this "passkey"?
I think that they share the "passkey" generated by either "central" or "peripheral".

Thanking you in advance.

Parents Reply
  • Excuse me, it seems that my explanation was bad.

    "Passkey" is a recognition that is randomly generated, but I want to know who is generating this random number ("central" or "peripheral").

    For example, in the case of "Numeric Comparison", both display the same random number.
    I think that it does not match when generating random numbers respectively on both devices.
    Therefore, I think that they share the "passkey" generated by either "central" or "peripheral".

Children
Related