Last Updated on : 2024-11-20 08:51:39download
This topic describes the common questions about the OTA firmware update to help you troubleshoot problems that might occur when you implement this feature. For more information, see Update Firmware.
For more information, see Update Firmware.
A minimum internet speed of 20 kbps is required.
After the mobile app receives a progress update, the timer will expire. If downloading is interrupted by an internet downtime, the SDK will try to reconnect to the mobile app. However, if the device goes offline for a specified time period, the mobile app will exit the update process and declare an update failure. The timeout period of the Smart Life app defaults to 60 seconds.
The device temporarily goes offline in the update progress. It will automatically go back online after the update is completed.
Flashing firmware is made on a module to which no programming code has been written. A firmware update is meant to upgrade the current firmware to improve the existing system with added features or fixed issues. The update can be performed only when the firmware has been flashed to the module.
If the module goes back online within the timeout period such as 60 seconds, the download continues from where it stopped earlier.
HTTPS is used for secure data transmission. Data integrity checks are provided by HMAC or MD5.
To successfully deploy an OTA update, the following two factors must be satisfied:
Check the firmware key:
Check the firmware key reported from the device by device ID. View the device details in the device log and find the firmware key bound with the PID. If these two keys are not matched, it makes sense that the update cannot be received.
Troubleshoot:
If the firmware key bound with a PID has been changed but the devices written with the original key have been delivered to the market, you can bind the current firmware key with the PID to fix this issue. If you have any problems, contact your project manager or submit a service ticket.
Assume that your current firmware version is 1.0.0. Here is a real OTA update process: You upload a real update named 1.0.1
to the platform and configure a deployment. After a device has the update installed, firmware 1.0.1
runs on the device. The mobile app will display a successful update.
Here is the process for a stress test: You change the name of the real firmware 1.0.0
to 1.0.1
and upload it to the platform for deployment. After a device has the so-called update 1.0.1
installed, it is the firmware 1.0.0
that actually runs on the device.
Assume that your current firmware version is 1.0.0. Here is a real OTA update process: You upload a real update named 1.0.1
to the platform and configure a deployment. To perform a rollback, similar to a stress test, you change the name of the real firmware 1.0.0
to 1.0.2
or a later version number and upload it to the platform for deployment. After a device has the so-called update 1.0.2
installed, it is the firmware 1.0.0
that actually runs on the device. The mobile app will display a failed update.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback