mqtt例程运行不对

yueda
Posts: 23
Joined: Wed Jun 01, 2016 11:52 am

mqtt例程运行不对

Postby yueda » Fri Apr 28, 2017 1:20 am

esp8266_nonos_sdk_v2.0.0_16_08_10_0下的mqtt相关程序,修改ssid和pas,编译步骤
STEP1->1 STEP2>1 STEP3->2 STEP4->0 STEP1->2。完成后烧写地址是,运行起来后没有发现那些INFO的打印log,而且没有连上网。是哪里问题呢?
Attachments
无标题.jpg
无标题.jpg

Her Majesty
Posts: 142
Joined: Mon Oct 27, 2014 11:09 am

Re: mqtt例程运行不对

Postby Her Majesty » Fri May 12, 2017 10:13 am

看你的 log 并没有修改 ssid,8266 还是去连接 DVES_HOME 这个 AP,找不到该 AP 就报错了。
应该修改 esp_mqtt_proj\include\mqtt_config.h 中的

Code: Select all

#define STA_SSID "DVES_HOME"
#define STA_PASS "yourpassword"

yueda
Posts: 23
Joined: Wed Jun 01, 2016 11:52 am

Re: mqtt例程运行不对

Postby yueda » Fri May 12, 2017 2:31 pm

谢谢,确实是这里! :D

Who is online

Users browsing this forum: No registered users and 2 guests