We have been working on esp32 for many projects but at this time we have encountered very strange thing. When the device is disconnected from network, we receive "SYSTEM_EVENT_STA_DISCONNECTED" event very fequently. And the temperature of ESP32 is getting high in a short time.. As far as I understand, esp retries to connect router many times. But we could not be sure.
Do you have any idea about the root cause of this problem? or any solution
Below "SYSTEM_EVENT_STA_DISCONNECTED" code block
Code: Select all
case SYSTEM_EVENT_STA_DISCONNECTED: esp_wifi_connect(); rtos_delay_milliseconds(3000);