aws / ota-for-aws-iot-embedded-sdk

MIT License
60 stars 74 forks source link

[BUG] OTA_SetImageState() fails but still activates the image #506

Closed BogdanTheGeek closed 10 months ago

BogdanTheGeek commented 10 months ago

Describe the bug In OTA_SetImageState(), the device is first activated and then the job status is update. If the job update fails, the image is still active, the device will reboot with the new image, but the job will return FAILED.

To Reproduce

Expected behavior The device reverts to the previous version or retries to update the job state.

n9wxu commented 10 months ago

No further development will be performed on this library. See the readme.