ARMmbed / connectedhomeip

Project Connected Home over IP is a new Working Group within the Zigbee Alliance. This Working Group plans to develop and promote the adoption of a new connectivity standard to increase compatibility among smart home products, with security as a fundamental design tenet.
https://www.connectedhomeip.com
Apache License 2.0
10 stars 4 forks source link

OTA image list generator #202

Closed ATmobica closed 2 years ago

ATmobica commented 2 years ago

Problem

OTA feature enhancement - OTA image list generator allows generating useful .json file that we can easily apply to OTA provider as input. Then we can pass the update image information such as version number, string version number, vendor and product IDs.

Change overview

Set vendor id and product id from mbed_app.json level Add OTA list image generator - python script Improve building script and add generating OTA list image step for upgrade image build

Testing

Run and build Mbed examples with upgrade application type argument.

ATmobica commented 2 years ago

How did you choose the product-id ?

@pan- I've just numbered the applications in the order in which they were added. I see that each platform independently defines the product ID, I do not see a common way to do it. But if you have any idea, I'm open to it.