capabilities.work

Roll Out OTA Update

A 3-step recipe with Amazon FreeRTOS. We can help you get access.

Recipe · 3 steps

Roll Out OTA Update

Create an OTA update and confirm its creation status by reading it back.

  1. Create the OTA update with the supplied targets and firmware files.
  2. Get the OTA update record to read its current creation status, then branch on whether creation has completed.
  3. Re-read the OTA update record to surface that creation is still pending or in progress rather than complete.
What you'll need to have ready
  • otaUpdateId: The identifier to assign to the new OTA update.
  • description: Optional human-readable description of the OTA update.
  • targets: The list of device or thing ARNs to target with the update.
  • protocols: The data transfer protocols to allow (e.g. MQTT, HTTP).
  • targetSelection: Whether the update is CONTINUOUS or SNAPSHOT.
  • files: The list of firmware file descriptors to deploy.
  • roleArn: The ARN of the IAM role granting access to deploy the update.
For your developer

Arazzo workflow amazon-freertos:rollout-ota-update, 3 operations: createOtaUpdate → getOtaUpdate → getOtaUpdate. Specs on APIs.io.