Every boot logs EVT_BOOT with esp_reset_reason(); every deliberate ESP.restart() is preceded by EVT_REBOOT with a reason code. This gives us a persistent answer to 'why did the device just reboot?'.
Every boot logs EVT_BOOT with esp_reset_reason(); every deliberate ESP.restart() is preceded by EVT_REBOOT with a reason code. This gives us a persistent answer to 'why did the device just reboot?'.