SDK Usage
Introduction
The IoT Device C SDK for Linux provides abundant demo code for devices to communicate with the platform and implement device, gateway, and OTA services. For details, see IoT Device C SDK.
Requirements
- The SDK runs on Linux.
- The SDK depends on the OpenSSL and Paho libraries. If you have your own compilation chain, compile library files such as OpenSSL, Paho, zlib, and Huawei secure function library.
- For some devices that are connected in MCU+module mode, use the C Tiny SDK for development.
Change History
|
Version |
Change |
Description |
|---|---|---|
|
1.2.0 |
Function enhancement |
Added the SDK test code and demo, and optimized the code usage. |
|
1.1.5 |
Function enhancement |
Added examples. |
|
1.1.4 |
Function enhancement |
Updated the OTA upgrade transmission format. |
|
1.1.3 |
Function enhancement |
Updated the conf\rootcert.pem certificate and added log upload. |
|
1.1.2 |
Function addition |
Added device rules, M2M, GN compilation file, anomaly detection, timestamp printed in logs, MQTT_DEBUG, Chinese cryptographic algorithms, remote configuration, and device-cloud secure communication (soft bus). |
|
1.1.1 |
Function addition |
Added SSH remote O&M. |
|
1.1.0 |
Function addition |
Supported MQTT 5.0. Optimized the code to resolve the memory overflow issue. |
|
1.0.1 |
Function enhancement |
Added application scenarios, where MQTTS does not verify the platform public key, using TLS version is V1.2, and adding message storage examples. |
|
0.9.0 |
Function addition |
Added the API for the gateway to update the child device status. |
|
0.8.0 |
Function enhancement |
Added the access domain name (iot-mqtts.cn-north-4.myhuaweicloud.com) and root certificates. If the device uses the old domain name (iot-acc.cn-north-4.myhuaweicloud.com) for access, use the v0.5.0 SDK. |
|
0.5.0 |
Function enhancement |
Preset the device access address and the matching CA certificate in the SDK to support interconnection with the Huawei Cloud IoT platform. |
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