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

    How to know to which LoRa Nano-Gateway the LoPy Connects

    Scheduled Pinned Locked Moved Firmware
    lopylora
    4 Posts 2 Posters 864 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
      GrtVHecke
      last edited by

      I am new to LoPy (and Lora in general). Something is not clear to me in the LoRa Nano-Gateway (Raw LoRa) examples.

      How can I set as node to which gateway I connect and as a gateway how do I know which connections to accept?

      Thank you for helping me out here.

      Geert

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

        @grtvhecke You cannot. That's the idea of TTN. Every gateway forwards every Mote's messages to the TTN server. This server assigns the incoming messages to your application.
        Since messages are encrpyted end-to-end, the gateway cannot look into the payload.
        If you define your own protocol, you can do what you like.

        1 Reply Last reply Reply Quote 0
        • G Offline
          GrtVHecke
          last edited by

          @robert-hh said in How to know to which LoRa Nano-Gateway the LoPy Connects:

          TTN

          Thank you for the reply. I was referring to the Nano-Gateway and not to the WAN gateway. In the gateway example the messages are received by the gateway and also handled by the gateway. So I wondered how to know to which one to connect or do you need to check in code the device and send an ack or not depending to this ID?

          Thank you,

          Geert

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

            @grtvhecke said in How to know to which LoRa Nano-Gateway the LoPy Connects:

            do you need to check in code the device and send an ack or not depending to this ID

            Yes

            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