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

    LoRaWan APB not working anymore with new firmware ?

    Scheduled Pinned Locked Moved Issues & Bugs
    lorawanfirmwareapb
    11 Posts 3 Posters 3.0k Views 3 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.
    • S Offline
      stef
      last edited by stef

      hi all ,
      i was using Apb mode on LoPy 1.6.1 with success .

      it's a private Lora with 2 differents gateways for test purpose , an IC880 + Rpi 3 and a MatchX gateway .

      I dev a node.js script for decrypting and forwarding packet to server in REST (using lora-packet node library)

      Hope solving a BT bug , i flashed one of my loppy to 1.7.9 and now transmitted packet can't be decryted anymore.

      is there significant change in APB crypting from 1.6.1 to 1.7.9 ??

      here is the difference beetween the two LoPy ( same code , same gateway )

      0_1502291740083_prbdecrypt.png

      any suggestions are welcome

      Stéphane A.

      1 Reply Last reply Reply Quote 0
      • bmarkusB Offline
        bmarkus
        last edited by

        1.7.9? Isn' 1.7.8.b1 the latest official release?

        1 Reply Last reply Reply Quote 0
        • S Offline
          stef
          last edited by stef

          0_1502293507762_upload-ec5ce5a5-359d-46ed-b075-bdeb41c671b8

          two days last version :D
          flashed with pycom firmware update

          1 Reply Last reply Reply Quote 0
          • bmarkusB Offline
            bmarkus
            last edited by

            I'm not sure it is an official version as it was not yet announced.

            1 Reply Last reply Reply Quote 0
            • bmarkusB Offline
              bmarkus
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • bmarkusB Offline
                bmarkus
                last edited by bmarkus

                I can confirm, updating from 1.7.8.b1 to 1.7.9.b2 encryption of uplink and download user payload fails with the same NwSKey/AppSKey key pairs with the same Network Server using ABP.

                It is a bug in 1.7.9.b2

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stef
                  last edited by

                  Thanks for the confirmation , will try to reverse to 1.7.8

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

                    I'm working on it. Will solve ASAP and report back shortly.

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

                      Fixed here: https://github.com/pycom/pycom-micropython-sigfox/commit/737dbac0396567c8656842fc4ec9e0cba56e3d40 will release new binaries in a few minutes.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        stef
                        last edited by

                        cool , thank for the quick answer.

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

                          Just released 1.7.9.b3 which solves the ABP issue. Apologies for this bug, we'll investigate why it was not picked up by our automatic tests.

                          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