Page 1 of 1

OTA

Posted: Wed Jan 22, 2020 1:20 pm
by Ritu21
Hi,

I have been asking questions on this forum but not getting any replies. Please reply for below query.

I have written full fledge code for OTA on free-rtos platform but now I need to implement the same code for Arduino. Can I use the same code for arduino or would I have to write the code as per arduino libraries?

If I would have to write again, then how can I handle partition table and roll-back along with the matching of SHA?

Please support your answer with logical pointers.

Waiting for your reply.

Thanks
Ritu

Re: OTA

Posted: Sun Jan 26, 2020 8:57 pm
by chegewara
You can use the same code with arduino, to use rollback you probably will need to use arduino as component, because IIRC it is not enabled in arduino, so you need to enable it in sdkconfig.

Recently i am working on demo for m5stack to flash prebuild examples over BLE and i am using plain C code in platformio with platform arduino and esp-idf.

Re: OTA

Posted: Mon Jan 27, 2020 10:33 am
by ESP_Sprite
Moving to Arduino subforum.