cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle ES_WIFI_STATUS_UNEXPECTED_CLOSED_SOCKET error?

DSabo
Associate III

I am using the STM32 Iot Node discovery kit, and I frequently get ES_WIFI_STATUS_UNEXPECTED_CLOSED_SOCKET errors. The wifi reports it is still connected, but obviously there is an issue..

How do I properly handle this error and establish a good connection again?

disconnect and re-connect the wifi?

Soft reset the wifi module?

Hard reset the wifi module?

Something else?

The error occurs frequently and is from

en.fp-cld-azure/STM32CubeFunctionPack_AZURE1_V4.0.1/Drivers/BSP/Components/es_wifi/es_wifi.c:1843

I also frequently get

en.fp-cld-azure/STM32CubeFunctionPack_AZURE1_V4.0.1/Drivers/BSP/Components/es_wifi/es_wifi.c:1976 :AT_RequestReceiveData failed

and I don't know how to handle it

0 REPLIES 0