tencent cloud

IoT Hub

Subdevice Firmware Update

PDF
Focus Mode
Font Size
Last updated: 2024-12-27 15:54:14

Overview

When a subdevice under a gateway has new features available or vulnerabilities that need to be fixed, firmware update can be quickly performed for it through the device firmware update service.

How It Works

During the firmware update process, the gateway needs to use the following two topics to communicate with the cloud on behalf of the subdevice:
OTA topic

Below is the sample code:
$ota/report/${productID}/${deviceName}
This topic is used to publish (upstream) messages, through which the device reports the version number and the download/update progress to the cloud.
$ota/update/${productID}/${deviceName}
This topic is used to subscribe to (downstream) messages, through which the device receives the update message from the cloud.

Process

Taking MQTT as an example, the update process of the subdevice is as follows:
Note:
For the specific directions of firmware update, please see Device Firmware Update.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback