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

    ValueError: invalid join data rate 3 Lopy LORAWAN

    Scheduled Pinned Locked Moved LoPy
    lopydata rateerrorloralora lopy
    29 Posts 12 Posters 7.3k Views 13 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.
    • X Offline
      Xykon administrators @jclo13
      last edited by

      @jclo13 Are you running lora.nvram_save() before going to deepsleep and lora.nvram_restore() after waking up?

      Christian Ehlers

      1 Reply Last reply Reply Quote 1
      • robert-hhR Offline
        robert-hh @jclo13
        last edited by

        @jclo13 Deepsleep wakeup is a reset. So before going to deepsleep, you have to save the LORA state tio nvram and restore it after that from nvram. No need to run join again, because the credentials are still valid. Actually, once a device has being joind and the credentials are established, there is no need to join with again, at least with OTAA.

        The problem you see may be caused by replaying packet numbers. You can verify that in the TTN console by unchecking the box "frame counter checks" in the devices settings. For testing this is an acceptable setting.

        J 1 Reply Last reply Reply Quote 1
        • J Offline
          jclo13 @robert-hh
          last edited by

          @Xykon yes, I am using lora.nvram_save() and then lora.nvram_restore().

          @robert-hh, I unchecked the box mentioned and it worked, thank you. but you mention for testing, how can I solve the problem if I want to check the counter frame?

          Jose

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @jclo13
            last edited by

            @jclo13 You can reset the counter in the TTN console to 0. Then the next message from the mote will synchronize the counter to a common value.

            1 Reply Last reply Reply Quote 1
            • F Offline
              FVbattocchia @jclo13
              last edited by

              @jclo13 said in ValueError: invalid join data rate 3 Lopy LORAWAN:

              1.18

              Hi, i have te same error with the firdware 1.15.0 but i found that this is the last version of firdware. do you solved this problem thit the firdware 1.18?

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jclo13 @FVbattocchia
                last edited by

                hello @fvbattocchia, the problem solved updating to firmware 1.18, try to downloand the last "Pycom firmware update" tool to update the firmware 1.18, I am using a US915 firmware.

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kb @jclo13
                  last edited by

                  @jclo13 I updated my FiPy device to 1.18 but still get the same error. Did you have to do anything else for it to work?

                  M 1 Reply Last reply Reply Quote 1
                  • M Offline
                    malachib @kb
                    last edited by

                    @kb @jclo13 I too am experiencing this same issue. Any progress?

                    robert-hhR 1 Reply Last reply Reply Quote 0
                    • robert-hhR Offline
                      robert-hh @malachib
                      last edited by

                      @malachib There is a PR for that to fix the issue (https://github.com/pycom/pycom-micropython-sigfox/pull/183), but that did not make it into the master branch or development branch yet.

                      M 1 Reply Last reply Reply Quote 1
                      • M Offline
                        malachib @robert-hh
                        last edited by

                        @robert-hh

                        There is a PR for that to fix the issue

                        OK, thank you for the heads up

                        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
                        • 2
                        • 2 / 2
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom