This topic describes how to use device SDK for C to connect a bare-metal microcontroller device to IoT Platform by using Message Queuing Telemetry Transport (MQTT).


Connect an MCU to a communication module and use AT commands for communication between the MCU and the communication module. Use device SDK for C to connect the communication module to IoT Platform and enable communication between each other.


Prepare software and hardware

You must prepare the following items.


Create a product and add a device

Build a development environment for devices

Provision a device