[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [mosquitto-dev] Repeated messages | 
Hi,
I'm facing a weird problem: Sending 5 messages ('1', '2', '3', '4', '5') 
using android phone (PAHO mqtt library) to a topic (using mosquitto as 
broker), using qos=1, not retained, the subscriber (another android 
phone, also using PAHO mqtt library) of the topic receives these 
messages, then shutdown the network connection of the subscriber phone 
and turn it on again after about 30 seconds, the subscriber immediately 
receives '3', '4' and '5' again, then shutdown and restart the network 
again, the subscriber receives '4' and '5' again, shutdown and restart 
the network again, the subscriber receives '5'.
The receiving of the repeated messages is not 100% reproducible. 
Sometimes the receiving of the repeated messages happens a couple of 
minutes after network reconnection.  The publisher and receiver always 
connects to the broker with clean session as false.
Why is this happening?
Thanks
Romu