Integrate Over the air updates
Learn how to implement Over the Air (OTA) Firmware Upgrades using bytebeam-esp-idf-sdk with this comprehensive guide. Find out how to enable OTA updates through an action handler and follow a step-by-step process to trigger updates. Discover how to create
OTA update has become a critical requirement for devices being deployed remotely. This guide covers everything you need to know about Over the Air Firmware Upgrades with bytebeam-esp-idf-sdk.
Enabling OTA Updates
OTA updates can be integrated into application by adding action handler for OTA updates.
Have a look at basic_ota example app for reference.
Follow the below steps to trigger OTA updates-
- Upload a .bin file and create a new firmware version on Bytebeam as per the instructions mentioned in the Creating a new Firmware Version guide.
- Once, new firmware version is created, trigger OTA update as per the instructions mentioned in the Triggering OTA update guide.
- Progress of the firmware update can be monitored on Bytebeam platform using Action status.
OTA Rollback
You can create a checkpoint in your app to either mark the newly updated firmware image as active or rollback to previous firmware version. Have a look at basic_ota_rollback example app for reference.
Note: For production cases, please tune the checkpoint behavior as per end application requirement.