Page 1 of 1
Crash happen after connect AP long time
Posted: Tue Feb 21, 2017 1:17 am
by xzwang
Hi,all
I got a crash which seemed to be happened after connected AP for long time. ESP32 disconnected to AP, and print the log like that:
I (19830063) wifi: bcn_timout,ap_probe_send_start
I (19832563) wifi: ap_probe_send over, resett wifi status to disassoc
I (19832563) wifi: state: run -> init (1)
I (19832563) wifi: n:1 0, o:1 1, ap:255 255, sta:1 1, prof:1
I (19832563) wifi: pm stop, total sleep time: 0/-1656040326
It looks like the sleep time was overflowed ?
Anyone can give me some suggestion?
Thanks.
Re: Crash happen after connect AP long time
Posted: Tue Feb 21, 2017 9:59 am
by ESP_puff
Hello xzwang,
How long did your ESP32 connect to AP? Is it sure to happen or happen by chance?
Re: Crash happen after connect AP long time
Posted: Wed Feb 22, 2017 1:35 am
by xzwang
Hi,ESP_puff
ESP32 has keep connection for several hours. and the crash can reproduce.
The Situation:
1,ESP32 is listening BLE advertising constantly.
2,ESP32 enable WIFI and connect AP.
3,Disable use dual core for FreeTROS in sdkconfig.
4,After several hours, ESP32 received "SYSTEM_EVENT_STA_DISCONNECTED". It may caused by 'I (19830063) wifi: bcn_timout,ap_probe_send_start', just my guess.
5,In my project, ESP32 will do "esp_wifi_connect()" automatically if received "SYSTEM_EVENT_STA_DISCONNECTED".
6,If connect AP again, the crash will not happen. However, if it can't connect AP for sometime, the crash will happen.
This is my ESP32 usage scenario, I hope it can help.
Thanks.
Re: Crash happen after connect AP long time
Posted: Fri Jun 02, 2017 7:57 am
by Ansics
Facing same problem.
Have any one troubleshoot this problem.
Re: Crash happen after connect AP long time
Posted: Fri Jul 21, 2017 4:28 am
by rinripper
hi guys, someone have a solution for this? I am facing this after a long time connected...
Code: Select all
I (1374096) PERCEPTIVE CLIENT: SYSTEM_EVENT_STA_DISCONNECTED
I (1433091) wifi: n:6 2, o:6 0, ap:6 2, sta:6 2, prof:6
I (1433091) wifi: state: init -> auth (b0)
W (1433092) wifi: alloc eb len=32 type=3 fail
W (1433093) wifi: m f auth
I (1434096) wifi: state: auth -> init (2)
I (1434096) wifi: n:6 0, o:6 2, ap:6 2, sta:6 2, prof:6
I (1434096) PERCEPTIVE CLIENT: SYSTEM_EVENT_STA_DISCONNECTED
I (1493091) wifi: n:6 2, o:6 0, ap:6 2, sta:6 2, prof:6
I (1493091) wifi: state: init -> auth (b0)
W (1493092) wifi: alloc eb len=32 type=3 fail
W (1493093) wifi: m f auth
I (1494096) wifi: state: auth -> init (2)
I (1494096) wifi: n:6 0, o:6 2, ap:6 2, sta:6 2, prof:6
I (1494097) PERCEPTIVE CLIENT: SYSTEM_EVENT_STA_DISCONNECTED
I (1553091) wifi: n:6 2, o:6 0, ap:6 2, sta:6 2, prof:6
I (1553091) wifi: state: init -> auth (b0)
W (1553092) wifi: alloc eb len=32 type=3 fail
W (1553093) wifi: m f auth
I (1554096) wifi: state: auth -> init (2)
I (1554096) wifi: n:6 0, o:6 2, ap:6 2, sta:6 2, prof:6
I (1554096) PERCEPTIVE CLIENT: SYSTEM_EVENT_STA_DISCONNECTED
I (1613091) wifi: n:6 2, o:6 0, ap:6 2, sta:6 2, prof:6
I (1613091) wifi: state: init -> auth (b0)
W (1613092) wifi: alloc eb len=32 type=3 fail
W (1613093) wifi: m f auth
I need help, thanks in advance