beacon timeout
state: 5 -> 0 (1)
rm 0
pm close 7 0 0/83198281
f 0, tcp try to reconnect callback......
scandone
no x-t found, reconnect after 1s
reconnect
f -180, scandone
no x-t found, reconnect after 1s
reconnect
f 0, scandone
no x-t found, reconnect after 1s
当的esp8266模块正常通信时,我去把路由器的电断了,打印出以上信息后,我再去给路由器重新上电,这时wifi模块没有去自动连接路由器,也没有提示尝试去连接路由器的相关信息,用的SDK的是 iot demo 1.3.0版本的,各位大神这时我们问题呢??有没有遇上过的???
ESP8266把路由器断电后十几秒钟再上电出现的问题
Re: ESP8266把路由器断电后十几秒钟再上电出现的问题
Postby ESP_Faye » Thu Nov 12, 2015 5:45 pm
您好,
wifi_station_set_auto_connect 用于设置上电是否自动连接路由。
wifi_station_set_reconnect_policy 设置从路由断开后,是否自动重连路由。
以上两个接口都置为 1,这两个接口默认为 1。
且不要主动调用 wifi_station_disconnect 断开连接,否则不会重连。
如果您的问题仍未解决,麻烦提供你的测试代码和完整 log 以供分析。
wifi_station_set_auto_connect 用于设置上电是否自动连接路由。
wifi_station_set_reconnect_policy 设置从路由断开后,是否自动重连路由。
以上两个接口都置为 1,这两个接口默认为 1。
且不要主动调用 wifi_station_disconnect 断开连接,否则不会重连。
如果您的问题仍未解决,麻烦提供你的测试代码和完整 log 以供分析。
Who is online
Users browsing this forum: No registered users and 139 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.