aws / aws-iot-device-sdk-embedded-C

SDK for connecting to AWS IoT from a device using embedded C.
MIT License
978 stars 625 forks source link

demos: Define OTA file type for OTA demos #1778

Closed yiting16 closed 2 years ago

yiting16 commented 2 years ago

Issue #, if available:

Description of changes: Latest OTA codes [1] now support configurable OTA file type. As OTA demos are supposed to run on POSIX platforms, we know 'FILE' should be used, so per [2] the AWS IoT device SDK should be able to define the following in its custom config file:

define otaconfigOTA_FILE_TYPE FILE

[1] https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/390/ [2] https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/388

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.