跳到主要内容

OTA Firmware Upgrades

about

OTA firmware upgrades is one of the most important functions of any IoT System. It helps add features and fix bugs for devices in fields. ESP RainMaker offers a rich OTA Upgrades interface with many options and flexibility. OTA jobs are handled in ESP RainMaker Dashboard.


Features

  • OTA firmware image upload

    • Includes parsing of image to fetch metadata from header and validate.
  • Secure signing of bootloader and firmware for secure boot

    • Auto signing of images with appropriate keys during OTA.
  • Specifying Target Nodes as

    • One or more Nodes based on node IDs.
    • One or more Node Groups.
    • Dynamic OTA Groups
      • Based on (node type | mode | firmware version)
  • OTA trigger methods

    ModeDescription
    DefaultNodes get OTA Job when queried for.
    Force pushImmediately sent to all online nodes and subsequently to other nodes based on when they query for OTA.
    User ApprovedRequires end users to query and approve OTA. Also provides an option to trigger push notifications to notify users about OTA availability.
    Timings- Validity (Perform OTA within specific dates).
    - Node time window (Perform OTA within specified hours as per the Node's time zone.)
  • OTA Download Methods

    ProtocolDescription
    HTTPS (using pre-signed URL)Low cost but extra RAM usage.
    MQTTHigher cost but memory efficient.
  • Monitoring

    • OTA Jobs Status summary and node wise info.
    • Timestamped detailed progress status.
  • Additional Features

    FeatureDescription
    Rollback supportEnsures that a faulty OTA does not brick a node and the node can rollback to previous firmware.
    Priority based OTASpecify ordering of multiple OTA jobs.
    Host MCUProvide images for host MCU (if applicable).
    Custom metadataAny user case specific metadata that is expected to be parsed by the Node.

Usage Guide

Firmware

On the usage of (setup,enable or auto-fetch) OTA upgrades on firmware, click here.


Dashboard

On the usage of how to (upload,start or monitor) OTA upgrades on dashboard, click here

On this page