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.
|
Function |
Description |
|---|---|
|
Served as a client for connecting devices to the platform using MQTT. Secret authentication and certificate authentication are supported. |
|
|
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. |
|
|
Used by a device to report property data in the format defined in the product model to the platform. |
|
|
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. |
|
|
Used to store the device online status, latest device properties reported, and device configurations to deliver. |
|
|
Used to download OTA upgrade packages from the platform. |
|
|
Used by devices to upload run logs, configuration files, and other files to the platform for log analysis, fault locating, and device data backup. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot