I'm running the demo code provided with esp-aws-iot (mqtt_demo) and after the firmware update is finished, it appears to first disconnect from the wireless access point and then try to close the MQTT connection resulting in error. Is this an issue with the library or are the disconnections done in the wrong order in the example provided? Has anyone else experienced this issue?
W (20147) wifi:idx
I (20147) wifi : new : <9,0>, old:<9,1>, ap:<255,255>, sta:<9,1>, prof:1
W (20157) wifi:hmac tx: ifx0 stop, discard
W (20157) wifi:hmac tx: ifx0 stop, discard
E (20157) esp-tls-mbedtls: read error :-0x004C:
E (20167) coreMQTT: Call to receiveSingleIteration failed. Status=MQTTRecvFailed
I (20157) OTA_MQTT: retry to connect to the AP
I (20177) OTA_MQTT: connect to the AP fail
E (20177) AWS_OTA: MQTT_ProcessLoop returned with status = MQTTRecvFailed.
I (20187) AWS_OTA: Disconnecting the MQTT connection with [endpoint].iot.us-east-1.amazonaws.com.
E (20197) esp-tls-mbedtls: write error :-0x004E:
E (20207) coreMQTT: sendBuffer: Unable to send packet: Network Error.
E (20207) coreMQTT: Transport send failed for DISCONNECT packet.
I (20207) wifi:flush txq
I (20217) wifi:stop sw txq
I (20227) wifi:lmac stop hw txq
ets Jun 8 2016 00:22:57
Any kind of help will be appreciated.
Thanks in advance.
Best regards.
I'm running the demo code provided with esp-aws-iot (mqtt_demo) and after the firmware update is finished, it appears to first disconnect from the wireless access point and then try to close the MQTT connection resulting in error. Is this an issue with the library or are the disconnections done in the wrong order in the example provided? Has anyone else experienced this issue?
W (20147) wifi:idx
I (20147) wifi : new : <9,0>, old:<9,1>, ap:<255,255>, sta:<9,1>, prof:1
W (20157) wifi:hmac tx: ifx0 stop, discard
W (20157) wifi:hmac tx: ifx0 stop, discard
E (20157) esp-tls-mbedtls: read error :-0x004C:
E (20167) coreMQTT: Call to receiveSingleIteration failed. Status=MQTTRecvFailed
I (20157) OTA_MQTT: retry to connect to the AP
I (20177) OTA_MQTT: connect to the AP fail
E (20177) AWS_OTA: MQTT_ProcessLoop returned with status = MQTTRecvFailed.
I (20187) AWS_OTA: Disconnecting the MQTT connection with [endpoint].iot.us-east-1.amazonaws.com.
E (20197) esp-tls-mbedtls: write error :-0x004E:
E (20207) coreMQTT: sendBuffer: Unable to send packet: Network Error.
E (20207) coreMQTT: Transport send failed for DISCONNECT packet.
I (20207) wifi:flush txq
I (20217) wifi:stop sw txq
I (20227) wifi:lmac stop hw txq
ets Jun 8 2016 00:22:57
Any kind of help will be appreciated. Thanks in advance. Best regards.