lorabridge / bridge-lorawan_tx

LoRaWAN Transmitter Software for LoRaBridge bridges
GNU General Public License v3.0
2 stars 1 forks source link

fix for redis message fetching #18

Open hruotsalainen opened 5 months ago

hruotsalainen commented 5 months ago

At the moment all the keys are searched for messages and only one gets transmitted, while other are dropped. This is not desired and shall be fixed. Fix is as easy as breaking the fetching loop once a key is found.

Also: now the fetching seem not to be balanced. If there are many entries from one device, we try to push them all in fifo style to lorawan. Round robin shall be implemented instead. This requires some more book keeping which sensor was served last etc.