Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Detect that an OTA upgrade is in progress

pjapja Cambridge

Hi,

I have an application (C code) running on an ESP32 that is pretty busy and I'm using curl to upgrade via OTA. I would like the application running on the ESP32 to detect that an upgrade is in progress and stop the task that is sucking all the CPU so that the OTA upgrade can complete as quickly as possible.

The questions I have is, is there a way I can detect that an OTA upgrade is in progress from the C code ?

Thanks

Paul

Sign In or Register to comment.