ESP32-AT socket connection errors #esp32
I'm using an ESP32-WROOM-S2 as WiFi modem through its AT commands interface and I'm facing a lot of issues using UDP/TCP sockets.
I have a worker thread that publish messages over sockets (TCP or UPD) and after a while (a couple of minutes) the ESP32 starts sending ERROR messages on each query and in the log UART I'm seeing messages like:
I tried using sockets directly and with the net context interface and it ends up in the same issue and the board stops sending messages over the network.
I also tried with the net shell command net udp send after a couple of messages it starts failing.