How to save and restore LoRaWAN context using deepsleep
-
Hello,
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?
Thanks.
-
@jellium
This is not possible yet, please see the existing topic:https://forum.pycom.io/topic/1350/strategy-for-lorawan-with-deepsleep-2
-