Updated on 2024-10-12 GMT+08:00

IoT Device SDK (C)

The IoT Device SDK (C) provides abundant demo code for devices to communicate with the platform and implement device, gateway, and Over-The-Air (OTA) services. For details on the integration guide, see IoT Device SDK (C) Development Guide.

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.

For details, see README.

Change History

Table 1 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

Updated the OTA upgrade transmission format.

1.1.4

Function enhancement

Fixed the issue of remote login packet reporting timeout.

1.1.3

Function enhancement

Updated the conf\rootcert.pem certificates.

1.1.2

New function

Added device rules, M2M, GN compilation file, anomaly detection, timestamp printed in logs, MQTT_DEBUG, Chinese cryptographic algorithm, remote configuration, and device-cloud secure communication (soft bus).

1.1.1

New function

Added SSH remote O&M.

1.1.0

New function

Supported MQTT 5.0. Optimized the cod 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

New function

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.