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

nRF5 SDK for Mesh v3.0.0 PERSISTENT_STORAGE Macro Enable Create issue.

Hii,

I'm using Nordic nRF5 SDK for Mesh v3.0.0 Example Code in LIGHT SW Provisioner Example i got Error code please healp me how to solve.

In Case Of

 #define PERSISTENT_STORAGE 1

if  #define PERSISTENT_STORAGE 0 then works well. i want to store server and client data in stack so please help me out of it.

Regards,

-Nikunj

Parents
  • Hello Nikunj,

    I am sorry, the resolution of your screenshot is very low, so I can't see what it says. But I tested the provisioner with #define PERSISTENT_STORAGE 0, and I didn't run into any problems while provisioning the server or the client.

    Can you please tell me what it says in the log of your screenshot? When did you get the error? When you start the application, or after you start the provisioning (after you press button 1)?

    Did you do any other changes to the project, other than setting PERSISTENT_STORAGE to 0?

    Best regards,

    Edvin

  • Hello Edvin,

    Just i run Example code no any changes ,but i got an Error Code.

    #define PERSISTENT_STORAGE 0 instead of #define PERSISTENT_STORAGE 1 its work well.

  • Hello,

    I can't replicate your error. PERSISTENT_STORAGE is defined to 1 by default, and it works in a fresh unzip of the SDK (At least when I tested that now).

    However, I see from your ticket tags that you use the nRF52840 DK, is that correct? Because you seem to use the project for the nRF52832. Try to use the light_switch_provisioner_nrf522840_xxAA_s140_6_1_0.emProject if you indeed have the nRF52840 DK. 

    BR,

    Edvin

Reply
  • Hello,

    I can't replicate your error. PERSISTENT_STORAGE is defined to 1 by default, and it works in a fresh unzip of the SDK (At least when I tested that now).

    However, I see from your ticket tags that you use the nRF52840 DK, is that correct? Because you seem to use the project for the nRF52832. Try to use the light_switch_provisioner_nrf522840_xxAA_s140_6_1_0.emProject if you indeed have the nRF52840 DK. 

    BR,

    Edvin

Children
Related