-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does QOS2 also queue messages if connection is gone while publishing the QOS2 message? #65
Comments
@kenvernaillenvub |
Hi, I have a similar request. I'm quite new to MQTT so if you could provide an example, I would be forever grateful Thanks, |
hi @kenvernaillenvub |
When I publish a certain message while internet is down, it should be queued and sent later on. Is this already implemented in QOS2? If it is QOS2, will this keep trying to send it? Because the first line in MQTT::publish is
if (isConnected()) {
and I think it will automatically return false and don't send it. What is the best way to make sure I don't lose any QOS2 messages?The text was updated successfully, but these errors were encountered: