Open jpmeijers opened 3 years ago
Thank you for your inquiry.
Customers are encouraged to submit technical questions via our dedicated support portal at https://semtech.force.com/ldp/ldp_support.
We invite all users to visit the LoRa Developer Portal Forum at https://forum.lora-developers.semtech.com and to join the thriving LoRa development community!
There are many situations in which a gateway can lose connectivity from the network server. During these times all packets that are received by the gateway is lost. I have a clear description of such a scenario in this forum post: https://www.thethingsnetwork.org/forum/t/discussion-recover-data-after-network-outage/49559/3
As stated there, buffering packets and sending them to the network server at a later stage can cause mac state corruption, or even be dropped because of packets arriving out of sequence.
Looking at all the suggestions and workarounds, my suggestion would be to have two channels of data that flows between Basic Station and the Network Server:
Because the connection between the gateway and the network server is secure, all data from it can be trusted. That also includes packets that are out of sequence or which are delayed. We need to think about the possible attack vectors for replay attacks that are introduced with such a second channel.
A second channel for buffered/outdated packets will however solve the scenarios described in my post above, as well as the issues faced by satellite networks: https://github.com/TheThingsNetwork/lorawan-stack/issues/2708