Overview

更新时间:
复制 MD 格式

Alibaba Cloud IoT Platform provides over-the-air (OTA) update and management services for devices. This topic describes how to configure the C Link SDK to enable OTA updates on a device.

Prerequisites

Background information

How it works

To implement an OTA update, the application must use MQTT to connect to IoT Platform. The upgrade package can be downloaded over HTTPS or MQTT:

  • HTTPS
    • Supports downloading OTA upgrade packages that contain one or more upgrade files.
    • For more information about the APIs for this feature, see aiot_ota_api.h.
    • ./demos/fota_posix_demo.c and ./demos/fota_multi_file_demo.c
    OTA
  • MQTT
    • Supports downloading OTA upgrade packages that contain only a single upgrade file.
    • ./demos/mota_basic_demo.cMQTT protocol download OTA upgrade timing diagram

Examples