OTA Manager User Guide

Afero offers developers the ability to send over-the-air (OTA) firmware image updates to the MCUs in their developer devices. The type of firmware image you want to update is up to you, the developer.

At a high level, this is how it works:

  1. Developer uses the Afero Profile Editor to publish a profile to devices of a given device type.
  2. Developer uses the OTA Manager to create the firmware “image types” they will be using and associates each image type with a device type.
  3. Developer uses the Profile Editor to enable MCU Firmware OTA Updates for selected firmware image types.
  4. Developer uses the OTA Manager to upload the firmware image (associating it with one of their image types), where it is hosted on the Afero OTA server.
  5. Developer uses the OTA Manager to “deploy” the firmware image to eligible devices.
  6. Afero uses its OTA service to send the OTA update to the ASR in the device.
  7. The ASR passes the firmware update to the MCU using the ASR ⇆ MCU interface.
  8. Update success/failure is reported back to Afero.

In addition, you'll have to prepare your application code to accept an MCU OTA update. Instructions are on this page: Handling MCU OTA Updates.


The OTA Manager and the Profile Editor Work Together

You can see that the Afero OTA Manager and the Afero Profile Editor work together to make MCU firmware OTA updates happen:

  • The Profile Editor needs to know about the firmware “image type” (defined in the OTA Manager) before the developer can select it (in the Attributes Definition window) to receive MCU OTA firmware updates. The “image type” is used to define an attribute that allows the update to pass through ASR to the MCU on the device.
  • The OTA Manager must know the device profile’s “device type” (defined in the Profile Editor) before the firmware image can be uploaded to the OTA service. Device type is associated with a firmware image to determine the devices eligible for the image update.

So, before you upload a firmware image, you must have used the Profile Editor to create and publish at least one device profile that has at least one image type selected on the Attributes Definition window in the MCU Configuration pane, Firmware OTA Updates section. However, before a profile can be published, the developer must have defined at least one “image type”.

Also note that:

  • Device profiles can be associated with one or more image types.
  • Firmware images can be associated with one or more device types.

Sign In Window

The Afero OTA Manager is a web application, available from https://otamanager.afero.io. Sign in using your Afero developer account credentials, the same email and password you use to sign in to the Afero Profile Editor.

Create Firmware Image Types

Before you can upload a firmware image, you must define at least one image type. An image type is a category of firmware image; you can name them however you wish but make sure you are creating a “category” or type of image, rather than identifying a specific image destined for a specific device.

Image types are shown in the OTA Manager as folders; again, you should name them based on the “types” of firmware images you plan to use for your MCU updates. Types could include bootloader, application, or any specific identifier you choose to categorize your firmware.

You can create up to 100 image types.


First-Time Flow

The first time you sign in to the Afero OTA Manager, you will be taken through a wizard that helps you create at least one firmware image type. If you know all the types you’ll be using, you are encouraged to create them all during this initial setup. You can always add more, or edit the name/description of image types later.

Add Firmware Image Type

After the first sign-in wizard flow, you will be able to create image types from the main window of the OTA Manager:

  1. From the upper-right of the OTA Manager main window, select the Add button, just to the right of the heading Image Types. The Add Firmware Image Type window appears:

    Add Firmware Image Type

  2. Give your image type a name and description, then click Add.

Edit Existing Image Type

If you want to change the name or description of an existing image type, you can do this from the main window. Note that once you’ve created an image type, that type is assigned an ID that does not change even when you edit the name or description. So, if what you want is the underlying category of the image to be different, create a new image type rather than changing the name on an existing type.

  1. From the OTA Manager main window on the left, hover your cursor over the pencil iconto the left of an existing image type. The option to Edit Image Type will appear. Select the icon.
  2. The Edit Firmware Image Type window will appear. Make your edits and Save.

Upload a Firmware Image

When you are ready to upload a firmware image, start from the OTA Manager main window.

Remember that before uploading an image, you must have already used the Profile Editor to create and publish a device profile that has a firmware image type selected. You do this on the Attributes Definition window > MCU Configuration pane > Firmware OTA Updates section. Read Configure the MCU for more details.


  1. From the upper-right of the window, select +Upload New Image. The three-step upload wizard appears.
  2. You can upload your image in either of two ways:
    • Drag & drop the image into the target image type folder; or
    • Select the target image type folder then navigate to your image file and select it.

    When finished, click Next: Add info for your firmware.

  3. On the next window you’ll add some metadata for your image: image name, description, version string, and tag(s). You will be able to search on this information later if you want to find a specific image quickly, or use one of the fields to filter your images. Press Enter after typing a tag to add more tags.

    When finished, click Next: Associate Device Types.

  4. All your eligible device types appear on the next window. Select those you want to receive the firmware image. Select DONE when you’re finished.

Deploy a Firmware Image

Once you’re ready to deploy your uploaded firmware image, you do so from the main window.

Select Image

The main window of the OTA Manager displays all your images. If you have a large number of images, you may want to limit the images shown:

  • Use the left-hand Navigation pane to filter images based on image type or device type.
  • Use the Search My Tags box to search on one or more image tags you’ve assigned.

Push Image

Once you have found the firmware image you want to deploy, you’re ready to push the image to your device(s):

  1. With the firmware image you want to deploy selected, click the Deploy button to the far-right of the firmware image entry.
  2. Below the image name, the target device ID(s) are shown. Select the targets.
  3. Click the Push Now button on the far-right.
  4. You can see deployment status in a message (in orange text) below your selected device(s): Deployment Status

See Also

  • Read Handling MCU OTA Updates for details on what you'll need to include in your application code to accept an MCU OTA update.
  • Read Configure the MCU for details on using the Profile Editor to prepare your MCU for accepting specific image types.