How to save and restore LoRaWAN context using deepsleep
Using LoPy, at boot I can join a LoRaWAN network with OTAA or ABP method, with the help of my initial set of keys (master keys) and I can send a packet successfully. Then, I want to turn the LoPy into deep sleep for a while (say 6 hours). However, when coming back from deep sleep, the LoPy resets such that I have to actually re-join the LoRaWAN network with the same initial set of keys, instead of using the established LoRaWAN context and the keystream block based on the sent packet counter.
Hence, how can I restore the LoRaWAN context after waking up from deep sleep?
jmarcelino last edited by
This is not possible yet, please see the existing topic: