Persist OTAA Keys / ABP Counter
-
Is there a way to persist the keys that were negotiated during OTAA? Or alternatively, can I somehow extract them to persist (and then restore) them myself?
Similarly, can I somehow extract and restore the packet counter in ABP mode?
If I'm not mistaken, this is possible with the RN2483 modules.
-
Oh, I missed those. Thanks.
-
@dbrgn
This is not possible yet and already discussed in:
https://forum.pycom.io/topic/1350/strategy-for-lorawan-with-deepsleep-2
https://forum.pycom.io/topic/1407/how-to-save-and-restore-lorawan-context-using-.Some modules like the RN2483 do support it, some others like the RM186 don't. IMHO LoRaWan doesn't offer a clear, best-practice, strategy for doing this.
With the LoPy you could of course add the functionally to the firmware since the source code is available .