How does the server detect the gateway?


#1

I am having a little confusion regarding how the server is able to receive packets from the gateway. I have not configured the gateway in my server but my server is still able to receive packets from the gateway. How ?? And how does the gateway configuration work then(from the GUI) ??


#2

Check this option in loraserver:

https://www.loraserver.io/loraserver/install/config/

loraserver creates the gateway for you if receives statistics but lora-app-server does not show it to you


#3

is there any configuration such that my server will receive packets from gateway only when i configure the gateway


#4

imagen


#5

but its still receiving packets even if i set it to false


#6

because it has been created already
Don’t forget to restart loraserver


#7

where is it storing then? in the gateway_stats table?


#8

Is there any role of MQTT in this scenario?


#9

LoRa Serve processes ALL data that it receives from the MQTT broker. If you want to ignore gateways, you need to configure authentication / authorization on MQTT level.