OTA

Ritu21
Posts: 123
Joined: Sat Aug 04, 2018 9:58 am

OTA

Postby Ritu21 » Wed Jan 22, 2020 1:20 pm

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

chegewara
Posts: 1234
Joined: Wed Jun 14, 2017 9:00 pm

Re: OTA

Postby chegewara » Sun Jan 26, 2020 8:57 pm

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.

ESP_Sprite
Posts: 4016
Joined: Thu Nov 26, 2015 4:08 am

Re: OTA

Postby ESP_Sprite » Mon Jan 27, 2020 10:33 am

Moving to Arduino subforum.

Who is online

Users browsing this forum: Bing [Bot] and 14 guests