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

random password value

Hello Nordic;

I use SDK 17.0.2 and gls example . We know for security in pairing, considered a password which that is randomly generated in SoftDevice and sent to UART. I want the name of the variable in which the password is stored after creation. i want that variable "add in watch" in SES for debug mode and read that variable.

thanks

Parents Reply Children
  • Well, from a quick browse through the main.c file, at line 124, I see:

    #define PASSKEY_TXT                     "Passkey:"                                  /**< Message to be displayed together with the pass-key. */
    #define PASSKEY_TXT_LENGTH              8                                           /**< Length of message to be displayed together with the pass-key. */
    #define PASSKEY_LENGTH                  6                                           /**< Length of pass-key received by the stack for display. */

    so perhaps "passkey" (rather than "password") would be the thing to search for ... ?

Related