cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WLE5JC disabling context management

helixembedded
Associate II

We have developed an IoT sensor using the STM32WLE5JC LoRa module. It is a device we expect to reboot a few times (when necessary).  It was discovered that when a downlink command (to reboot the device) is sent, the device reboot, but then it hangs during the join process.
After much debugging, it looks like NVM context data is corrupted. Then I disabled context management by setting the flag CONTEXT_MANAGEMENT_ENABLED to 0. . After this, the device consistently joins after a reboot. We can also see that keys are cleared and the join process is fresh each time.

Additional context: According to lorawan_conf.h, where CONTEXT_MANAGEMENT_ENABLED is defined, the comments state that "context management must be enabled for LoRaWAN 1.0.4 or later ". We ar currently on LoRaWAN version 1.0.3 and don't expect that to change for the foreseeable future.

Question - Are there any critical concerns or downsides to disabling context management?

0 REPLIES 0