-
Notifications
You must be signed in to change notification settings - Fork 401
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
MQTT_Disconnect don't disconnect #87
Comments
Hey Just replaced mqtt.c file with your version and so far my module is working fine as it is supposed to. Thanks, |
Hi think i have found a "error in me new code" |
@sifourquier You can try this https://github.com/vowstar/esp_mqtt, I'm testing and it is OK to safe disconnect MQTT client. |
To me, MQTT_Disconnect() should send a mqtt_msg_disconnect() message, message type MQTT_MSG_TYPE_DISCONNECT = 14. But that function isn't used. |
Hi
MQTT_Disconnect clear memory but don't close TCP connection
I have edit the mqtt.c for close the TCP but if you can check
Tanks you for your work
mqtt.c.zip
The text was updated successfully, but these errors were encountered: