I am uploading sketches using the OTA web updater. I sometimes need to reboot the ESP32 without the need to upload the code. How does one do this?
3 Answers
Best Answer
Hi Sara – It turns out if you hit ‘Update’ without choosing a file (when the form says “No file chosen”) then it will perform a reboot. So, refresh the browser page, and hit update, and it will reboot without an upload.
Regards
Hi.
The instruction that reboots the ESP32 is:
ESP.restart();
But I’m not sure how to do that over the air in a simple way.
Regards,
Sara