wdt reset when connect the router which not broadcast ssid

xyuz
Posts: 8
Joined: Wed Nov 12, 2014 4:27 pm

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;
}

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

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 ?
Attachments
user_main.zip
(942 Bytes) Downloaded 459 times

xyuz
Posts: 8
Joined: Wed Nov 12, 2014 4:27 pm

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.
Attachments
user_main.c.zip
(1.1 KiB) Downloaded 453 times

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: wdt reset when connect the router which not broadcast ss

Postby ESP_Faye » Fri Feb 13, 2015 2:10 pm

Hi,

Thanks for the bug reporting !

We will solve it ASAP .

Thanks for your interest in ESP8266 !

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

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 !

Who is online

Users browsing this forum: No registered users and 188 guests