I'm currently running into some weird issues with Wifi sometimes not connecting properly. I've cut down the issue to essentially the scan example from the IDF repository (Code Attached). The issue occurs on both Devkits I have here, as well as a bare WROOM32 module.
On a good boot I'll get:
Code: Select all
I (206) scan: SYSTEM_EVENT_STA_START
I (2626) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (3466) wifi: state: init -> auth (b0)
I (3466) wifi: state: auth -> assoc (0)
I (3476) wifi: state: assoc -> run (10)
I (3506) wifi: connected with SSID, channel 6
I (3516) wifi: pm start, type: 1
I (4086) event: sta ip: 192.168.178.53, mask: 255.255.255.0, gw: 192.168.178.1
I (4086) scan: SYSTEM_EVENT_STA_GOT_IP
I (4086) scan: Got IP: 192.168.178.53
Code: Select all
I (205) scan: SYSTEM_EVENT_STA_START
I (2625) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (3455) wifi: state: init -> auth (b0)
I (3465) wifi: state: auth -> init (8a0)
I (3465) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1
What exactly does the 8a0 code in the auth -> init message mean?
Thanks