Skip to content

Persisting LoRaWAN state across device restarts - how to access CFList? #143

Description

@netmaniac

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions