Send the following on WhatsApp
Continue to ChatESP32: Keep WiFi connection alive with a FreeRTOS task https://simplyexplained.com/blog/esp32-keep-wifi-alive-with-freertos-task/
ESP32: Keep WiFi connection alive with a FreeRTOS task https://simplyexplained.com/blog/esp32-keep-wifi-alive-with-freertos-task/