Integrate Over The Air Updates
OTA update has become a critical requirement for devices being deployed remotely. This guide covers how to integrate Over the Air Upgrades using uplink. There are four steps to trying out OTA updates with Bytbeam.
Update artifacts with Bytebeam are simple tar files containing an executable script called updater. Uplink download the tar file, extract it, and run the updater script.
Currently, we support four types of updates. App update is the simplest form of update, to start with. Refer to the appropriate update sections to create the tar file for each update type.
- App Update: App update replaces the old app binary on the device with the new binary uploaded to the Bytebeam cloud.
- App Update with rollback: This is similar to an app update but with a rollback feature. This allows the device to roll back to the previous version of the app if the update fails.
- Rootfs Update This updates the entire rootfs, kernel, and firmware files(in the boot partition) as well.
Refer to the guide on Creating a new Firmware Version
Refer to the guide on Triggering OTA update
Uplink downloads the tar file, extracts the contents, and runs the updater script.