Chirpstack selected the gateway with a weaker signal for the downlink transmission.

Viewed 39

A LoRa node is connected to two gateways, one with good signal and the other with poor signal. However, when the chirpstack transmits data downward,** it selects the gateway with the poorer signal for the downward communication.** According to common sense, the gateway with the better signal should be chosen for the downward transmission. Is this related to the configuration of the server?419af4e972d1874ef3e51f77f5abf362.pnga462276121dc68d8149d44aabb61f0a7.pngf62dc89c9be3ea9efa61c923f789f12e.png

2 Answers

I think this is expected behavior. Above a certain link-margin, ChirpStack will select a random gateway for the downlink (to avoid that all downlinks will go through a single gateway, e.g. if this gateway has a better antenna) and to distribute the downlink load. I believe the default margin is 10.

Your uplink is SF7, and worst SNR is 2.5. The min. required SNR for demodulating SF7 is -2.5. So this means there is still a margin of 10.

However, when I use two gateways, if the node selects another gateway with a poor signal, it will cause my node to fail to receive the messages sent by this gateway with poor signal. This will result in frequent packet loss for my node. I would like to know how chirpstack selects gateways. Is there any algorithm? Or is it that, when the node transmits data, as long as any gateway receives data from the node, chirpstack will consider this gateway as valid and randomly send data to the node from among these gateways that have received the node's data?image.pngimage.png