Updated on 2025-12-04 GMT+08:00

Functions

The SDK is designed for embedded devices with powerful computing and storage capabilities. You can call SDK APIs to implement communication between devices and the platform. The table below lists the functions supported by the SDK.

Table 1 Supported functions for Android

Function

Description

Device connection authentication

Served as a client for connecting devices to the platform using MQTT. Secret authentication and certificate authentication are supported.

Message reporting

Used by a device to report custom data to the platform, which then forwards reported messages to an application or other Huawei Cloud services for storage and processing.

Property reporting

Used by a device to report property data in the format defined in the product model to the platform.

Command delivery

Used by the platform to deliver a command to a device. After the platform delivers a command, the device needs to return the command execution result to the platform in a timely manner.

Device shadow

Used to store the device online status, latest device properties reported, and device configurations to deliver.

Software and firmware OTA upgrade

Used to download OTA upgrade packages from the platform.

File upload/download

Used by devices to upload run logs, configuration files, and other files to the platform for log analysis, fault locating, and device data backup.