This article helps you understand the basic capabilities of IoT Platform. The following capabilities are provided: connect devices with IoT Platform, send messages from devices to IoT Platform, subscribe to device messages from IoT Platform, and send commands from IoT Platform to devices.

This article describes how to connect a device with IoT Platform and use the capabilities that are provided by IoT Platform. A street lamp is used in this example.

Data flow diagram

IoT Platform

Before you begin

Before you connect a device to IoT Platform, you must perform the following operations:

  • Activate IoT Platform.
  • Prepare a development environment for the C programming language. In this article, the device is developed on the Linux operating system by using Link SDK for C.
  • Prepare a development environment for Java. In this article, the online debugging feature of IoT Platform is used to send downstream commands. AMQP SDK for Java is used to receive device messages.


  1. Create products and devices: Register your device in IoT Platform and obtain a device certificate (including ProductKey, DeviceName, and DeviceSecret). Burn the device certificate to the device. When the device connects to IoT Platform, the certificate is used for authentication.
  2. Define product features: Define product features, including properties, services, and events. IoT Platform generates a Thing Specification Language (TSL) model based on the defined product features. The TSL model is used for the communication between the device and IoT Platform.
  3. Connect a device to IoT Platform: Develop the device SDK and pass in the device certificate to connect the device with IoT Platform.
  4. Subscribe to messages from devices: Configure a server-side subscription to receive device messages. The message types include online/offline notifications, device lifecycle changes, and upstream device messages.
  5. Send commands from IoT Platform to devices: Use the online debugging feature of IoT Platform to send commands to the device.