Overview
If you develop products in C, you can use the C Link SDK from IoT Platform to simplify development and quickly connect devices to IoT Platform.
Instructions
-
You can use the C Link SDK to connect Internet-capable devices to IoT Platform.
-
You can configure the C Link SDK for device management and monitoring. For more information, see Features.
-
You can customize the C Link SDK as needed. For more information, see Obtain the C Link SDK.
-
For devices connected using an MCU and a module, see SDK porting reference.
-
You can port the C Link SDK to different operating systems or hardware platforms. For more information, see Porting examples.
If the C Link SDK does not provide a suitable adapter for some devices connected using an MCU and a module, you can develop your own adapter based on open protocols. For more information, see:
Features
|
Type |
Feature module |
Description |
References |
|
Device connection |
MQTT connection |
Establish a connection over the Message Queuing Telemetry Transport (MQTT) protocol between a device and IoT Platform to enable communication. Important
To have IoT Platform push messages to a device, connect the device over MQTT. |
|
|
HTTPS connection |
Establish a connection over the HTTPS protocol between a device and IoT Platform to allow the device to report data to IoT Platform. |
||
|
Device authentication |
|
||
|
Device connection |
CoAP connection |
Establish a connection over the Constrained Application Protocol (CoAP) between a device and IoT Platform to allow the device to report data to IoT Platform. |
|
|
Message communication |
RRPC |
Devices support synchronous revert-RPCs (RRPCs) from IoT Platform. |
|
|
Broadcast communication |
A device can receive broadcast messages from the server without subscribing to broadcast topics. |
||
|
Device management |
Thing Specification Language model |
Manage devices based on Thing Specification Language (TSL) models, eliminating the need to handle data exchange formats between devices and IoT Platform and reducing development costs. |
|
|
Device tag |
Define custom IDs for devices to flexibly manage them. |
||
|
Device job |
Initiate property settings, asynchronous service invocations, and custom tasks for multiple devices at the same time. |
||
|
Device shadow |
Cache device status so that online devices can obtain instructions directly from the cloud, and devices coming back online after being offline can actively pull instructions. |
||
|
NTP service |
A device obtains the current time from IoT Platform. |
||
|
Gateways and sub-devices |
Connect a device through its gateway to IoT Platform, allowing devices without IP addresses to connect indirectly. |
||
|
Device distribution |
Implement unified programming for devices in different regions and facilitate business migration. |
||
|
File upload |
Upload files to an Alibaba Cloud IoT Platform server for storage. |
||
|
Monitoring and O&M |
Remote logon |
Remotely control and manage devices. |
|
|
Log reporting |
A device uploads logs in real time. |
||
|
Over-the-air (OTA) update |
A device performs device-side upgrades through IoT Platform.
|
||
|
Remote Configuration |
Remotely update configuration information such as system and network parameters without restarting or interrupting the device. |
||
|
Secure tunnel |
Remotely access, diagnose, and manage devices. |
Version guide
|
Version number |
Description |
Notes |
References |
|
4.x |
|
Important
This SDK version is regularly updated and maintained. Use this version. |
|
|
3.x |
Provides a code extraction tool for more convenient feature clipping. |
|
|
|
2.x |
|
|
|
|
1.x |
Initial version. |
Not recommended. |
None. |