Module Integration Guides
...
ESP32
ESP-IDF
Integrate Over the air updates
2min
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.
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.
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.