OTA and deepsleep

charles-edouard
Posts: 2
Joined: Fri Feb 12, 2021 10:18 am

OTA and deepsleep

Postby charles-edouard » Wed Mar 24, 2021 7:55 am

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

Agree007
Posts: 103
Joined: Mon Sep 18, 2017 7:11 pm
Location: Copenhagen

Re: OTA and deepsleep

Postby Agree007 » Wed Mar 24, 2021 8:40 am

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.

Who is online

Users browsing this forum: No registered users and 76 guests