Hello
I'm trying to persist LoRaWAN state to not require new OTAA join request after device reboot (no battery power). Using hints from #85 I managed to store all mentioned data (network and app session keys, uplink and downlink counter) and it is almost working.
Almost, since I don't know how to store CFlist data and later restore. Result? After reboot ADR is not working, device uses only 3 basic frequencies (EU 868 region, so uplinks after reboot are being sent only on 868.1, 868.3 and 868.5). Also downlinks seems not reaching device.
When device joins with OTAA, until first reboot everything is fine - ADR is working (it will be stationary device), node sends uplinks using all 8 frequencies and downlinks are delivered to node.
How to persist CFList and then re-apply?
Hello
I'm trying to persist LoRaWAN state to not require new OTAA join request after device reboot (no battery power). Using hints from #85 I managed to store all mentioned data (network and app session keys, uplink and downlink counter) and it is almost working.
Almost, since I don't know how to store CFlist data and later restore. Result? After reboot ADR is not working, device uses only 3 basic frequencies (EU 868 region, so uplinks after reboot are being sent only on 868.1, 868.3 and 868.5). Also downlinks seems not reaching device.
When device joins with OTAA, until first reboot everything is fine - ADR is working (it will be stationary device), node sends uplinks using all 8 frequencies and downlinks are delivered to node.
How to persist CFList and then re-apply?