Setting Up Password for Connection Between NRF52 and Phone

Hello,

I am currently working on a project using the NRF52 SDK and Segger Embedded Studio. I need to set up a password (or passkey) for securing the Bluetooth connection between my NRF52 device (nrf52833)and a phone.

Could you please provide guidance or examples on how to implement this feature in my application?

Parents
  • Hello,

    The Glucose application enables passkey pairing, so you can use this sample as a reference. 

    Best regards,

    Vidar

  • Issues Linking Crypto Libraries for nRF52833 in SEGGER Embedded Studio

    I'm currently working on an nRF52833 project using SEGGER Embedded Studio and the nRF5 SDK. I'm facing several issues related to linking the cryptographic libraries, particularly when enabling the CC310 backend. Here are some specific errors I'm encountering  

    Undefined References to Crypto Functions:Functions like CRYS_ECPKI_GetEcDomain, SaSi_LibInit, CRYS_RndInit, and others are showing as undefined references during the build process

    Warnings and Errors:Several warnings related to string operations and accessing memory regions, particularly in CC_AESCCM_Init.

    Added paths to the crypto backend and runtime directories in the project settings.

    Verified that relevant macros in sdk_config.h are enabled

    #define NRF_CRYPTO_BACKEND_CC310_ENABLED 1
    #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 1
    #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 1
    #define NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 1

  • The nRF52833 does not include the CC310 peripheral like the nRF52840. So it won't be possible to enable this backend for your target. Please make sure you use the project configuration for 'pca100100' as reference, and not 'pca10056' which is for the nRF52840. 

Reply Children
No Data
Related