All Products
Search
Document Center

IoT Platform:Overview

Last Updated:Feb 13, 2023

Link SDK for C that is provided by IoT Platform supports the dynamic registration or unique-certificate-per-product authentication feature. This eliminates the need to burn different DeviceSecrets to devices and reduces the burning costs. You can use HTTPS-based dynamic registration to obtain device authentication information and then connect devices with IoT Platform.

Prerequisites

Process

The application program calls the API operations of Link SDK for C to implement HTTPS-based dynamic registration and obtain the authentication information that are required to connect the devices with IoT Platform.

The following figure shows the process. In this example, the ./demos/dynreg_basic_demo.c application program is used.

Process of HTTPS-based dynamic registration

For more information about API operations that are related to HTTPS-based dynamic registration, see aiot_dynreg_api.h.

Examples

What's next

After HTTPS dynamic registration is successful, you can use the returned DeviceSecret with the ProductKey and DeviceName to activate devices and connect the devices with IoT Platform. For more information, see the following articles:

Note
  • If the device is not activated, you can perform dynamic registration multiple times. However, only the latest DeviceSecret is valid. Make sure that the latest DeviceSecret is burned on the device.
  • If the device is activated, you must call the ResetThing operation to reset the registration status of the device to unregistered in the IoT Platform console. Then, you can dynamically register the device.