Page 1 of 1

OTA and deepsleep

Posted: Wed Mar 24, 2021 7:55 am
by charles-edouard
Hello,

I was wondering if it is possible that the ESP32 goes into deepsleep while doing an OTA update ?
If not, what are the mechanisms that ensure that the OTA is not interrupted if while doing an OTA.
If so, how to prevent it ?

Thanks,
Charles

Re: OTA and deepsleep

Posted: Wed Mar 24, 2021 8:40 am
by Agree007
No, OTA is using WiFi and then you can not use deep sleep. In you code you can setup a funktion to run when OTA starts, set a variable to true and then disable everything else when it is true.