ESP8266_RTOS_V1.3.0 版本的sdk,测试wifi模组断线重连的问题。
当长时间断电后然后上电(有的时候十分钟就能复现,我一般是挂一个晚上,第二天来看是否能够重连),wifi模组会自动重连。但是一直获取不到ip地址。
调试信息输出dhcp client start...之后,一直获取不到ip,而且过一段时间会重复输出如下信息:
state: 5 -> 2 (3c0)
rm 0
pm close 7 0 0/1065629296
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
pm open phy_2,type:2 0 0
cnt
为什么会出现这样的情况?我在旧的版本(RTOS_V1.0.4版本)中没有发现这个问题。
路由器长时间断电,上电后模组会获取不到ip地址
-
- Posts: 20
- Joined: Fri Jul 24, 2015 3:00 pm
Re: 路由器长时间断电,上电后模组会获取不到ip地址
Postby ESP_Faye » Fri Dec 11, 2015 10:02 am
您好,
非常抱歉,我们未能复现到您的问题。我们测试经过一晚上后,第二天来连接 AP,仍然可以正常连接并获取 IP,log 如下:
请问您测试的路由器型号是什么?麻烦提供具体的路由器 WiFi 配置,我们将使用同款路由器测试。
非常抱歉,我们未能复现到您的问题。我们测试经过一晚上后,第二天来连接 AP,仍然可以正常连接并获取 IP,log 如下:
Code: Select all
no DemoAP found, reconnect after 1s
reconnect
f -180, scandone
no DemoAP found, reconnect after 1s
reconnect
f r0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt
connected with DemoAP, channel 6
dhcp client start...
maxtime 5
ip:172.20.10.4,mask:255.255.255.240,gw:172.20.10.1
请问您测试的路由器型号是什么?麻烦提供具体的路由器 WiFi 配置,我们将使用同款路由器测试。
Who is online
Users browsing this forum: No registered users and 5 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.