Hello, 
I tried to use the option --disable-clean-session but I was not able to get the 
expected result. I assume by using this flag with mosquitto_sub i would be able 
to get the messages sent between two disconnection of the subscriber.
In fact, I do not get the message sent during the disconnection time (even if 
sent with qos 1 & 2)
Is it a bug and a misuse of this option or misunderstanding ?

Version of misquitto is 1.2

Here is the command used to publish (multiple time with different values)
mosquitto_pub  -h www.myserver.com -t sensors/value -q 1 -m 6

Here is the command used to subsribe (each time the same)
mosquitto_sub --disable-clean-session --id myid1 -h www.myserver.com -t 
sensors/value

Your help is welcome.
Thank you
Sincerely
Paul
                                          
-- 
Mailing list: https://launchpad.net/~mosquitto-users
Post to     : mosquitto-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mosquitto-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to