ESP8266 Developer Zone The Official ESP8266 Forum 2016-11-29T16:06:15+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2853 2016-11-29T16:06:15+08:00 2016-11-29T16:06:15+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2853&p=10723#p10723 <![CDATA[Re: 8266连接AP后,经常断开重连,提示是reason 3]]> 你的信息是在wifi_handle_event_cb()函数中打印的,可以在esp_wifi.h中查找出问题,注释的原因是<the auth mode of AP connected by ESP8266 station changed>.所以可能是 Mitchell的稳定性。

Statistics: Posted by ESP_Xutao — Tue Nov 29, 2016 4:06 pm


]]>
2016-10-08T14:04:57+08:00 2016-10-08T14:04:57+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2853&p=10080#p10080 <![CDATA[8266连接AP后,经常断开重连,提示是reason 3]]> wifi mode : SoftAP & Station
socket mode : Server
mode : sta(18:fe:34:ed:88:45) + softAP(1a:fe:34:ed:88:45)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with Mitchell, channel 5
dhcp client start...
connect to ssid Mitchell, channel 5
ip:192.168.3.47,mask:255.255.255.0,gw:192.168.3.1
EVENT_STAMODE_GOT_IP
TcpServer Listen
add 1
aid 1
station: 18:fe:34:ed:88:70 join, AID = 1
EVENT_SOFTAPMODE_STACONNECTED

state: 5 -> 2 (3c0)
rm 0
disconnect from ssid Mitchell, reason 3
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with Mitchell, channel 5
dhcp client start...
connect to ssid Mitchell, channel 5
ip:192.168.3.47,mask:255.255.255.0,gw:192.168.3.1
EVENT_STAMODE_GOT_IP

state: 5 -> 2 (3c0)
rm 0
disconnect from ssid Mitchell, reason 3
reconnect
state: 2 -> 0 (0)
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with Mitchell, channel 5
dhcp client start...
connect to ssid Mitchell, channel 5
ip:192.168.3.47,mask:255.255.255.0,gw:192.168.3.1
EVENT_STAMODE_GOT_IP

station: 18:fe:34:ed:88:70 leave, AID = 1
rm 1
EVENT_SOFTAPMODE_STADISCONNECTED

state: 5 -> 2 (3c0)
rm 0
disconnect from ssid Mitchell, reason 3
reconnect

disconnect from ssid Mitchell, reason 3,这里的reason 3代表什么含义,该问题怎么解决?

Statistics: Posted by mitchell — Sat Oct 08, 2016 2:04 pm


]]>