I am currently using the Mongoose networking library to handle HTTP requests to the ESP32. I left the device connected to an Ethernet LAN overnight and came back the next morning to find that the entire network had crashed. Immediately as I disconnected the device from the network, everything went back to normal. Overnight the device was not receiving any HTTP requests, i.e. it was merely running the following code continuously:
Code: Select all
while (1)
{
mg_mgr_poll(&mgr, 1000);
ESP_LOGI(TAG,"mongooseTask: Polling");
if(sRebootAfterReply==1)
{
currtick = systick;
sRebootAfterReply = 2;
}
if(systick-currtick >= 5000 && sRebootAfterReply == 2)
{
esp_restart();
}
}
Thankyou,
Matthew