All Products
Search
Document Center

IoT Platform:Overview

Last Updated:Oct 31, 2023

Message Queuing Telemetry Transport (MQTT) is an asynchronous communication protocol based on the TCP/IP protocol stack. MQTT is a lightweight protocol that is used to transmit messages in the publish/subscribe model. You can configure Link SDK for C to connect devices that use the MQTT protocol to IoT Platform.

Prerequisites

Background information

For more information about how to connect a non-cloud gateway device to IoT Platform over MQTT, see MQTT protocol.

For more information about how to connect a cloud gateway device to IoT Platform over MQTT, see MQTT gateways.

How it works

The application calls the API operations of Link SDK for C to establish a connection to IoT Platform over MQTT. The following figure shows how the device-side application connects to IoT Platform for communication.

For more information about MQTT connection-specific API operations, see aiot_mqtt_api.h.

代码开发流程说明

Examples