wdt reset when connect the router which not broadcast ssid
wdt reset when connect the router which not broadcast ssid
Postby xyuz » Wed Feb 11, 2015 9:18 pm
wdt reset when connect the router which not broadcast ssid, and also often not found the ssid.
my program is base on sdk 0.9.5.
this is the log:
WifiJoinAp[136]:ssid:MERCURY_2.4G_8ACF auth:4 passwd:a12345678
scandone
add 0
aid 1
pm open phy_2,type:2 0 0
cnt
beacon timeout
rm mismatch
pm open phy_2,type:2 7 0
pm.c 810
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
this is the code:
wifi_station_disconnect();
ETS_UART_INTR_DISABLE();
if(!wifi_station_set_config(&staConfig))
{
SysLog("wifi_station_set_config fail.");
ETS_UART_INTR_ENABLE();
return 0;
}
ETS_UART_INTR_ENABLE();
if(!wifi_station_connect())
{
SysLog("wifi_station_connect fail");
return 0;
}
my program is base on sdk 0.9.5.
this is the log:
WifiJoinAp[136]:ssid:MERCURY_2.4G_8ACF auth:4 passwd:a12345678
scandone
add 0
aid 1
pm open phy_2,type:2 0 0
cnt
beacon timeout
rm mismatch
pm open phy_2,type:2 7 0
pm.c 810
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
this is the code:
wifi_station_disconnect();
ETS_UART_INTR_DISABLE();
if(!wifi_station_set_config(&staConfig))
{
SysLog("wifi_station_set_config fail.");
ETS_UART_INTR_ENABLE();
return 0;
}
ETS_UART_INTR_ENABLE();
if(!wifi_station_connect())
{
SysLog("wifi_station_connect fail");
return 0;
}
Re: wdt reset when connect the router which not broadcast ss
Postby ESP_Faye » Thu Feb 12, 2015 11:47 am
Hi,
Thanks for your interest in ESP8266 !
Sorry that I can't replicate your problem, my test code is as the attachment..
Could you offer us more information to debug ? Does this problem only replicate on specific router ?
Thanks for your interest in ESP8266 !
Sorry that I can't replicate your problem, my test code is as the attachment..
Could you offer us more information to debug ? Does this problem only replicate on specific router ?
- Attachments
-
- user_main.zip
- (942 Bytes) Downloaded 459 times
Re: wdt reset when connect the router which not broadcast ss
Postby xyuz » Thu Feb 12, 2015 3:23 pm
@Espressif_Faye
OK, I found the problem is that before connect
I call wifi_station_scan with cfg show_hidden = 1 to scan ssid.
when I set show_hidden = 0 erverthing is ok.
this is my test code you can have a try.
tks.
OK, I found the problem is that before connect
I call wifi_station_scan with cfg show_hidden = 1 to scan ssid.
when I set show_hidden = 0 erverthing is ok.
this is my test code you can have a try.
tks.
- Attachments
-
- user_main.c.zip
- (1.1 KiB) Downloaded 453 times
Re: wdt reset when connect the router which not broadcast ss
Postby ESP_Faye » Sun Feb 15, 2015 4:02 pm
Hi,
Please try it with our latest SDK http://bbs.espressif.com/viewtopic.php?f=7&t=205
Thanks for your interest in ESP8266 !
Please try it with our latest SDK http://bbs.espressif.com/viewtopic.php?f=7&t=205
Thanks for your interest in ESP8266 !
Who is online
Users browsing this forum: No registered users and 188 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.