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
Mode Description Default Nodes get OTA Job when queried for. Force push Immediately sent to all online nodes and subsequently to other nodes based on when they query for OTA. User Approved Requires 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
Protocol Description HTTPS (using pre-signed URL) Low cost but extra RAM usage. MQTT Higher cost but memory efficient. -
Monitoring
- OTA Jobs Status summary and node wise info.
- Timestamped detailed progress status.
-
Additional Features
Feature Description Rollback support Ensures that a faulty OTA does not brick a node and the node can rollback to previous firmware. Priority based OTA Specify ordering of multiple OTA jobs. Host MCU Provide images for host MCU (if applicable). Custom metadata Any 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