ESP-IDF version 3.1.1 (though 3.3 beta-something behaved similarly)
Netgear Nighthawk R8500 router (though other WiFi networks that bypass that router also fail similarly) - rebooted several times without change.
Notably, I've been able to able to connect in the past without any difficulties. In the interim, no change in network topology. No change in the application code, etc.
In short, this is what I see. This pattern continues ad infinitum. Happy to post code, but it's essentially just the tcp_server.c example application minimally modified.
Code: Select all
I (179) wifi: wifi driver task: 3ffc100c, prio:23, stack:3584, core=0
I (179) wifi: wifi firmware version: b2c9a19
I (179) wifi: config NVS flash: enabled
I (189) wifi: config nano formating: disabled
I (189) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (199) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (219) wifi: Init dynamic tx buffer num: 32
I (219) wifi: Init data frame dynamic rx buffer num: 32
I (219) wifi: Init management frame dynamic rx buffer num: 32
I (229) wifi: Init static rx buffer size: 1600
I (229) wifi: Init static rx buffer num: 10
I (239) wifi: Init dynamic rx buffer num: 32
I (239) example: Setting WiFi configuration SSID UhYesAndNo...
I (329) phy: phy_version: 4000, b6198fa, Sep 3 2018, 15:11:06, 0, 0
I (329) wifi: mode : sta (30:ae:a4:8f:56:1c)
I (329) example: Waiting for AP connection...
I (339) example: SYSTEM_EVENT_STA_START
I (459) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (1439) wifi: state: init -> auth (b0)
I (2439) wifi: state: auth -> init (200)
I (2439) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (2439) example: SYSTEM_EVENT_STA_DISCONNECTED
I (3769) wifi: n:11 0, o:1 0, ap:255 255, sta:11 0, prof:1
I (3769) wifi: state: init -> auth (b0)
I (4769) wifi: state: auth -> init (200)
I (4779) wifi: n:11 0, o:11 0, ap:255 255, sta:11 0, prof:1
I (4779) example: SYSTEM_EVENT_STA_DISCONNECTED
I (7189) example: SYSTEM_EVENT_STA_DISCONNECTED