Watch 1 Star 1 Fork 1

badblocks / esp8266_uart_mqttC/C++Apache-2.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
二次开发官方nons_sdk2.2.0,基于MQTT协议实现ESP8266接收串口发送的数据并发布,同时订阅消息并转发至串口 spread retract

Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

esp8266_uart_mqtt

介绍

二次开发官方nons_sdk2.2.0,基于MQTT协议实现ESP8266接收串口发送的数据并发布,同时订阅消息并转发至串口

配置你的WiFi参数

/app/include/mqtt_config.h 记得修改后将宏CFG_HOLDER+1(只要与原来不同)

配置你的MQTT参数

/app/include/user_config.h 记得修改后将/app/include/mqtt_config.h/宏CFG_HOLDER+1(只要与原来不同)

注意事项

项目nodeMCU的GPIO12为LED灯,如果您的对应为其它IO口,请修改user_main.c/user_init()和wifi.c/wifi_check_ip()对GPIO12的操作.

Comments ( 0 )

Sign in for post a comment

C/C++
1
https://gitee.com/badblocks/esp8266_uart_mqtt.git
git@gitee.com:badblocks/esp8266_uart_mqtt.git
badblocks
esp8266_uart_mqtt
esp8266_uart_mqtt
master

Help Search