OTAs can be enabled like :

let bytebeam_client = ByteBeamClient::init()?;

// This will register the ota handler for "update_firmware" action
bytebeam_client.enable_ota();

Follow this steps to trigger OTA update :

  1. Create a new firmware version and upload the firmware on Bytebeam as per the instructions mentioned in the Creating new Firmware Version.
  2. Once, new firmware version is created, trigger OTA update as per the instructions mentioned in the Triggering OTA update.
  3. Progress of the firmware update can be monitored on Bytebeam platform using Action status