QUERY · ISSUE
esp32 cannot create thread after opening ap
why esp32 cannot create thread after opening ap.
CANDIDATE · ISSUE
Enable AP mode on ESP32 and enable TCP socket. After a few hours (overnight), the phone can connect to ESP32, but it cannot use TCP socket. It is preliminarily determined that the socket has been recycled by the system due to a long time of not connecting to ESP32 (gc has been disabled). The requirement of my current project is that the socket always exists and not be recycled by the system. How to set it up?
enhancementproposed-close
Enable AP mode on ESP32 and enable TCP socket. After a few hours (overnight), the phone can connect to ESP32, but it cannot use TCP socket. It is preliminarily determined that the socket has been recycled by the system due to a long time of not connecting to ESP32 (gc has been disabled). The requirement of my current project is that the socket always exists and not be recycled by the system. How to set it up?