The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.

Developer Guide

Last updated: 2025-04-27 17:48:43

Tencent Cloud IoT development platform provides device-side SDKs in multiple languages and oriented to various scenarios. To help you use the correct SDK integration and utilize the IoT development platform more efficiently, please read the following content carefully.

Developer Guide

SDK Overview

SDK
Description
Application Scenario
Reference Documentation
Device-side C Language SDK
Provide adaptation guides for multiple integrations and usages of IoT Explorer for platforms developed based on the C language.
Device-side C Language SDK 5G
Oriented to development platforms based on the C language, introduce 5G and edge computing features on the basis of IoT Explorer.
Device-side Java Language SDK
Provide adaptation guides for platforms such as Android to access and use IoT Explorer for platforms developed based on the Java language.
Device-side Python Language SDK
For platforms developed based on the Python language, support the access of microcontrollers or embedded devices running MicroPython to IoT Explorer.
Device-side AT Module SDK
For platforms developed based on the customization of AT Modules by Tencent Cloud, provide an adaptation guide for the access of MCU+ Tencent Cloud customized AT Modules to IoT Explorer.
Device-side ESP8266 SDK
For platforms developed based on ESP8266, provide the access process for Tencent Cloud ESP8266 custom firmware, as well as the adaptation guide for multiple networking protocols such as SoftAp and SmartConfig to access Tencent Lianlian Mini Program.
Besides using the above SDK to integrate with IoT Explorer, you can also use TencentOS tiny to quickly integrate with IoT Explorer by porting the C SDK, and introduce features such as low-power, low resource occupation, modularization, and security and reliability to your application. For details, see Usage Reference of SDK Based on TencentOS Tiny.

Development Process

The development process is divided into the following three steps:
1. Determine application scenarios, among them the application scenarios include:
Directly connected device.
Gateway and subdevice.
Bluetooth device.
Device network configuration.
2. Select the appropriate SDK according to the application scenario.
3. Reference documentation and examples to implement the functionality.

Relevant Guidelines

Directly Connected Device

Direct device access types are divided into resource-rich type and resource-constrained type. For details, see direct device access type description.
Resource-rich devices
Resource-constrained devices

Bluetooth Device

Gateway and Subdevice

Device Network Configuration

Best Practice

Practice Item
Introduction
This practice mainly introduces how to port Tencent Cloud IoT C SDK to Espressif ESP8266 RTOS platform, and provides a runnable Demo. Meanwhile, it introduces how to use Wi-Fi distribution network API at code level, and can combine with Tencent Lianlian Mini Program to perform Wi-Fi distribution network and device binding in SoftAP mode.
This practice is oriented for device developers who use modules (2G/3G/4G/5G, NB, Wi-Fi, etc.) that support Tencent AT commands to integrate with the Tencent IoT Platform. It provides a porting example of using the Tencent AT-SDK on the mcu side. It shows how to achieve the HAL layer porting in a software and hardware environment based on the STM32F103 mcu and FreeRTOS.
This practice implements porting examples of STM32+esp8266+FreeRTOS and STM32+esp8266+without RTOS based on STM32 I-Cube.
This practice realizes the integration with Tencent Cloud IoT Explorer based on TencentOS-tiny, a real-time operating system developed by Tencent for the Internet of Things domain.