Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Persist OTAA Keys / ABP Counter

    Scheduled Pinned Locked Moved LoPy
    otaalorawanlopyabpcounter
    3 Posts 2 Posters 1.2k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      dbrgn
      last edited by dbrgn

      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.

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jmarcelino @dbrgn
        last edited by

        @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 .

        1 Reply Last reply Reply Quote 0
        • D Offline
          dbrgn
          last edited by

          Oh, I missed those. Thanks.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom