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

  • Hello,

    Since this is not the same topic as your original question, I suggest that you create a new ticket. I will try to help you in this answer, but if you are still stuck, then post your issue in a new ticket.

    This is the assertion handler. 

    Can you check the status value of your different calls? E.g. status = generic_onoff_client_set(). What is status after this line is executed?

    It may also be your ERROR_CHECK(app_timer_create()) or ERROR_CHECK(app_timer_start()). Try to do:

    ret_code_t err_code;

    err_code = app_timer_create();

    ERROR_CHECK(err_code);

    err_code = app_timer_start());

    APP_ERROR_CHECK(err_code); 

    and check the err_code after the application calls, and before the APP_ERROR_CHECK();

    Try to debug, and figure out what you are adding that causes the problem to crash. You say that it is when you try to "send command" I am not sure how you do this, but it is probably related to this.

Related