-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
fix _onPubcomp #111
fix _onPubcomp #111
Conversation
Signed-off-by: MichaelDvP <[email protected]>
Another bug? 😢 |
Yes, but mosquitto ignores it, only the ioBroker mqtt-broker throws a lot of errors because of the extra pubcomp. |
Ouch, that's a stupid copy-paste error of me. Obviously we don't need to send a pubcomp when receiving a pubcomp. 🤦 |
BTW: is this: espMqttClient/src/MqttClient.cpp Line 44 in 490a94a
|
Yes. I believe so. This compile time variable also isn't in the docs. |
The code was actually tested for this scenario but Mosquitto is forgiving and doesn't disconnect. Maybe I should add a delay in the test to give Mosquitto some time to realize something went wrong...??? |
No, mosquitto just knows the communication is successfull and ignores the extra pubcomp. There is no errormessage, it just works. |
That's it! I just test with Mosquitto (in Github actions but also in my home setup). Thanks for the find! |
With receiving Pubcomp the communicaion is finished.