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.
-
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 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 |
|
||
|
Message communication |
RRPC |
Devices support synchronous RRPCs from IoT Platform. |
|
|
Broadcast communication |
A device can receive broadcast messages from the server without subscribing to broadcast topics. |
||
|
Device management |
File management |
Upload files to an Alibaba Cloud IoT Platform server for storage. |
In development |
|
Device management |
Thing Specification Language model |
Manage devices based on 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 |
Log reporting |
A device uploads logs in real time. |
|
|
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. |
||
|
Device diagnosis |
Check whether the device connection and communication latency are normal. When the connection latency is high or packet loss occurs, the device can send an alarm to the cloud. |
None |
|
|
Device forensics |
Monitor the security status of a device. Important
If you use one-type-one-secret authentication without pre-registration, configure this feature module. |
None |
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. |