-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Issue with CIPCLOSE #51
Comments
Does this mean issue is with ESP firmware on Espressif side? If there is no x,CLOSED event, it is tough to do much. |
sometimes ESP firmware in Espressif side doesn't respond back to AT+CIPCLOSE so ESP AT LIB stays in ESP_MQTT_CONN_DISCONNECTING forever. |
For now as temporary solution, I added the functions below to force sending AT+CLIPCLOSE again even if is in ESP_MQTT_CONN_DISCONNECTING state. espr_t mqtt_force_close(esp_mqtt_client_p client) { espr_t
} |
This is defjnitely not a solution. We need to report to esp-at Espressif Github. |
In my applications sometimes it happens although MQTT port close command is sent ( AT+CIPCLOSE) , no response (either CLOSED or ERROR ) is received and since the MQTT connection state is ESP_MQTT_CONN_DISCONNECTING , ESP AT Lib stays in this state forever no matter if esp_mqtt_client_disconnect is sent again because it never try to send AT+CIPCLOSE.
The text was updated successfully, but these errors were encountered: