Hi everyone,
I'm testing wolfMQTT on an embedded device that uses a cellular connection. When the network drops briefly and the client reconnects, I occasionally receive duplicate MQTT messages that were originally published with QoS 1.
My application stores packet IDs and acknowledges messages correctly, but duplicates still appear after reconnection in some cases.
Does wolfMQTT provide any built-in mechanism or recommended approach for tracking and filtering duplicate QoS 1 messages across reconnect events, especially when using persistent sessions (clean session disabled)?
If anyone has implemented this successfully on resource-constrained devices, I'd appreciate hearing about your experience.
Thanks!