How to know to which LoRa Nano-Gateway the LoPy Connects
-
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
-
@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. -
@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
-
@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
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