首先配置信息是正确的(重启后有时能连接上),有时能连接到AP,有时不能连接到AP(重启多次有时也连接不上),
在这个函数中wifi_handle_event_cb,连接不上时有EVENT_STAMODE_DISCONNECTED事件产生,evt->event_info.disconnected.reason的值经常不太一样,evt->event_info.disconnected.reason这个值的具体定义在哪里?
8266作为STA连接AP失败的原因有哪些?配置信息是正确的
Re: 8266作为STA连接AP失败的原因有哪些?配置信息是正确的
Postby Her Mary » Tue Mar 20, 2018 6:32 pm
这里有一个连接路由器的示例代码,希望对你有帮助 https://bbs.espressif.com/viewtopic.php?f=31&t=228
Who is online
Users browsing this forum: No registered users and 161 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.