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

    is there a firmware and nano gateway code to reliable function of LoPy4?

    Scheduled Pinned Locked Moved Discussion
    7 Posts 2 Posters 49 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.
    • J Offline
      jg_spitfire
      last edited by

      Hi, I have an issue with the downlinks from my nano gateway, this is a project I had stopped but now I am on it again, the last year near march/april y bought the lopy4 and the downlinks were ok, I lost 1 of 10 downlinks sent, but unfortunately I lost all my files and when I retake this project I thought the best was to update the firmware and code of the nano gateway, but now the downlinks works in a random way, sometimes I sent 4 or 5 and everything ok but sometimes I lost 5/10 downlinks sent, the gateway says "timestamp error", does anybody has his nano gateway working OK?, If yes, could you tell me which firmware and code version are you using?

      thanks

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

        @jg_spitfire The timestamp error happens if the downlink message arrives too late at the gateway. The reasons for that are manifold. Just one of them could be the LoPy4. If you have Wireshark or the like, you could narrow down, if it's the LoPy4 or something in you link to the internet and the TTN gateway. Please check also if you are using the TTN router for your region.

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

          @robert-hh Hi, do you know why the lopy4 stops sending the push and pull ack?

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

            @jg_spitfire Actually no. Do you see any error messages, or does it simply stop? What are the most recent output messages when it stops?
            I had seen that in the past with my LoPy base nanogateway - also stopping w/o any obvious reasons. That one is stable since long now. It only stops on mains power failures, which are pretty rare. It runs form a dump 5V wall-wart type power supply, not connected to any computer. The firmware is the basic (no PyBytes) home-built firmware version 1.20.2.rc6.

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

              @robert-hh this is what I got, a big package that I have not seen before then my uplinks but no ACK push or pulls between my uplinks, after all, what are those ACKs?, thanks

              noackpycom.jpg

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

                @jg_spitfire The xxPy detects random packages from the noise. Their properties like length vary a lor, and rssi is typically close to the detection level, like <-120db at 125kHz bandwidth. The nanogateway does not check the CRC and forwards these packages. I do not know whether this is welcome by the server. But I could never observe a bad side effect. Other gateways do check the CRC and do not forward those packages.
                Which version of the nanogateway software are you using? Is it the one from the micropython-lib?
                If it stops, does it stop forever or do it revive after a while, like after 40 or 80 minutes? I agree, that is a long time. But that is the ticks_cpu() overrun period.
                pull ack and push ack are messages of the Semtech packet forwarder protocol. See https://github.com/Lora-net/packet_forwarder/blob/master/PROTOCOL.TXT

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

                  @robert-hh Hi, I am using the firmware version you told me and now works, and the nanogateway version I have been using is the provided by pycom

                  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