Is it possible to upgrade an app "partially" with mupgrade?

numeric
Posts: 1
Joined: Tue Feb 12, 2019 11:42 pm

Is it possible to upgrade an app "partially" with mupgrade?

Postby numeric » Wed Feb 13, 2019 12:03 am

Hello,

I wonder if it is possible to upgrade the app running on ESP32 board "partially" by using binary diff with ESP-MDF's mupgrade functionality.
What I want to do is the following:
1. Compute the diff between the old version app and the new version app.
2. The server (AP) transmits computed diff to ROOT node of MESH network.
3. Use mupgrade functionality to distribute the upgrade data over the MESH network.
4. Do upgrade.

Also, are there any limitations that prevent apps from being upgraded using diff?
I appreciate any help and advice you provide.

ESP_LBB
Posts: 108
Joined: Fri May 18, 2018 3:41 am

Re: Is it possible to upgrade an app "partially" with mupgrade?

Postby ESP_LBB » Thu Feb 21, 2019 2:07 pm

Hi numeric,

This function is not supported yet.
As the current OTA function can upgrade a device with a bin size of 1.4MB within 20s, for 20 devices it's around 2mins, so upgrade using diff is not at the top of our plan for now. We will consider this after we finish other plans.

Who is online

Users browsing this forum: No registered users and 4 guests