2024-10-23 02:45 AM
Using the latest SM32Cube_FW_WL_V1.3.0 and the lorawan middleware.
For MAC v1.0.4 the devnonce and other parameters needs to get persisted to the flash. From what I see this happens when LmHandlerNvmDataStore is called.
But from the looks of it, this is never called? I assume I am missing a file somewhere!?
Any idea where and when this function is getting called?
Solved! Go to Solution.
2024-11-01 03:31 AM
Hello @truhann
The "LmHandlerNvmDataStore" is called to start the NVM Data store process. It is usually called on the "StoreContext" function of the "lora_app.c" function. This function is executed will calling for the execution of the task "CFG_SEQ_Task_LoRaStoreContextEvent". This task is called for example on the EXTI interrupt for the button B3 on the LORAWAN-End_Node example. It may change depending on the application.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-11-01 03:31 AM
Hello @truhann
The "LmHandlerNvmDataStore" is called to start the NVM Data store process. It is usually called on the "StoreContext" function of the "lora_app.c" function. This function is executed will calling for the execution of the task "CFG_SEQ_Task_LoRaStoreContextEvent". This task is called for example on the EXTI interrupt for the button B3 on the LORAWAN-End_Node example. It may change depending on the application.
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.