RAK7289 Automatic Data Recovery

Good day,

Is there any limitation on the buffer size for storing messages in case of loss of communication with the server except for the sd-card capacity ?

Hello @croman13n3c ,

The buffer has no limitation, but for the PF you have a Keepalive interval (max300s) and Auto-restart threshold(max60), so you will store whatever comes in the time slot of 60x300s. The PF will restart and run into a loop until it finds the network restored and it can reach the server.

Nikola Semov

Hello Nikola,

Ok, but after restart PF will continue to write to the buffer or will it clear it ?

Hello @croman13n3c ,

After the PF receives a connection to the server, it will dump all the buffered messages to the Server.
It should not clear the messages when you restart the process itself.

Nikola Semov

Good day,

If we change the protocol “Packet forwarder” from “Semtech UDP GWMP Protocol” to “LoRa Gateway MQTT Bridge (MQTT for Chirpstack 4.x (protobuf)”, will Automatic Data Recovery still be possible?
If yes, should be settings “Clean session” and “Retain” be activated ?