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

    Pygate configuration whithout TCP connection

    Scheduled Pinned Locked Moved Comments & Feedback
    4 Posts 2 Posters 36 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.
    • G Offline
      Gonçalo Ferreira
      last edited by

      Hi,

      I have a Lopy4 board attached to a Pygate. I was trying to listen to a end-device (another lopy 4) with my pygate wihtout having a tcp connection. I only want the pygate to see the lora messages but when i see the config_json file there are two parts : the radio config and the gw config. It is possible to not fill or erase the part for the gw and tcp config and only have the parameters for the radio module?
      Another question, can i program my pygate using c or c++? How? Can i define de radio modules and the 8 channels?

      J 1 Reply Last reply Reply Quote 0
      • J Offline
        jcaron @Gonçalo Ferreira
        last edited by

        @Gonçalo-Ferreira a LoRaWAN gateway cannot usually work independently. Most of the work is done by the LNS (network server), the gateway is just forwarding data.

        It is the LNS which decrypts/encrypts data, handles registrations, deduplicates data received via multiple gateways, forwards to applications, decides which gateway should send acks and downlinks...

        What exactly are you trying to do?

        A lot of the code is available in the GitHub repo. If you want to do something custom that’s probably a good starting point (along with the datasheet of the radio chips).

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          Gonçalo Ferreira @jcaron
          last edited by

          @jcaron thanks for your reply!
          I am trying to implement a Lora Repeater with the pygate expansion board. Basicaly i want to repeat the signal from a end-device to a gateway with my pygate in the middle, whithout my pygate being connected to any type of network.
          But i am having real troubles programming the pygate expansion board. I dont know how to configure the config file without giving the Gw and Nwk parameters because the board will not be connected to any Wifi or LTE. Then i dont know how to work with the receiver and transmitters using functions. I was thinking in using Espressif and trie to change the firmware of the board so i can program in C/C++. Can you give me some tips?

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jcaron @Gonçalo Ferreira
            last edited by

            @Gonçalo-Ferreira I hope you are not in the EU region, as a LoRa backhaul on a repeater would be quite limited by duty cycle restrictions.

            You can clone the GitHub repo https://github.com/pycom/pycom-micropython-sigfox

            You need the install the associated prerequisites (including matching version of the ESP-IDF) to compile and flash, there are detailed instructions about it in the README.

            IIRC the Pygate version is built with VARIANT=PYGATE. Not sure if everything is open source or if there are any parts relevant for your use case which would be binary blobs. The relevant parts of the source should be in esp32/pygate.

            1 Reply Last reply Reply Quote 2

            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