From the documentation(https://github.com/brocaar/loraserver-setup/blob/master/README.md), I understood that LoRa gateway bridge is using 1700 port for both uplink and downlink communication. Why same port number 1700 is used for both uplink and downlink sessions?
I would like to use two separate ports for uplink and downlink (Say 1690 and 1691).
Is it possible to configure the UDP listener to different ports ?
Here udp_bind = “0.0.0.0:1700” related to packet forwarder port.
By the documentation, It looks like for both uplink and downlink(‘serv_port_up’ and ‘serv_port_down’) same port(1700) is used. Is that correct? Whether any other configuration is available for UDP port (uplink and downlink) configuration?
LoRa Gateway Bridge uses the UDP port from which the packet-forwarder sends its data. I believe this is the right implementation as when your gateway is behind a NAT, this is (I believe?) the only way your NAT is able to figure out to which internal IP the UDP packet must be routed. Please correct me if I’m wrong here.
There is no problem in the Lora gateway bridge functionality. Currently for both uplink and downlink, single UDP session is used.
I just wanted to use two independent session for uplink and downlink for specific requirement. Is that possible?
yes it’s correct
You have to change your global_conf.json or local_conf.json, to set the UDP socket on the same port, i’m assuming that your are using the packet_forwarder
Yes. Ok. whether LoRa gateway bridge can receive data from two LoRa gateway (two packet forwarder) at same time?
In my case, 2 packet forwarder is running on LoRa gateway and brocaar Lora server + bridge running on Linux PC.
ok. Understood. from packet forwarder, i would like to send diagnosis, communication/error log messages and some custom packets using same UDP session and I want it to be published by LoRa application server to external application (through MQTT).
Currently I am receiving gateway status packet and LoRa node rx data through MQTT. If I send any of the additional packet from packet forwarder, how it will be received?