I'm trying to debug an intermittent failure in connecting to a wifi AP. If it succeeds, I would receive:
Code: Select all
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
connected with SSID, channel 1
If it fails, I would receive:
Code: Select all
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
cnt
state: 5 -> 2 (1a0)
rm 0
state: 2 -> 0 (0)
Can someone explain what do these messages mean? Or is it expected that the wifi_station_connect() function fails 5% of the time on the first try?