stm32连接腾讯云
时间: 2023-08-24 19:07:37 浏览: 177
STM32之LWIP网络协议栈连接腾讯云
5星 · 资源好评率100%
在STM32连接腾讯云的过程中,可以使用ESP01s模块进行通信。首先,需要在STM32端编写初始化代码,确保ESP01s能够正常工作。\[1\]接下来,可以使用AT指令来连接和断开腾讯云。建议先使用AT指令测试是否能够成功连接上腾讯云物联网开发平台,并进行数据交互。\[3\]具体的AT指令包括:AT+RST、AT+CWMODE=1、AT+CWJAP="路由账号","路由密码"、AT+MQTTUSERCFG=0,1,"NULL","Username","Password",0,0,""、AT+MQTTCLIENTID=0,"ClientID"、AT+MQTTCONN=0,"PRODUCT_ID.iotcloud.tencentdevices.com",1883,1、AT+MQTTSUB=0,"$thing/down/property/ProductID/DeviceName",1、AT+MQTTSUB=0,"$thing/up/property/ProductID/DeviceName",1、AT+MQTTPUB=0,"topic","data_Json",1,0、AT+MQTTCLEAN=0。\[3\]通过这些AT指令,可以实现STM32与腾讯云的连接。
#### 引用[.reference_title]
- *1* *2* *3* [stm32+ESP01s连接到腾讯云物联网开发平台IOT](https://blog.csdn.net/weixin_53122643/article/details/126314249)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文