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).

Implementation

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.

MCU IoT

Prepare software and hardware

You must prepare the following items.

Procedure

Create a product and add a device

Build a development environment for devices

Provision a device