wifi console log message meanings
Posted: Mon Oct 22, 2018 1:54 am
I'm trying to debug why I randomly fail to connect to an AP. I've unsuccessfully searched for the documentation on how to interpret the messages from the console log. A successful connection has this output:
I (47061) wifi: n:10 2, o:10 0, ap:255 255, sta:10 2, prof:1
I (48041) wifi: state: init -> auth (b0)
I (48051) wifi: state: auth -> assoc (0)
I (48061) wifi: state: assoc -> run (10)
Unsuccesful connections have this (last line is different):
I (18691) wifi: n:10 2, o:1 0, ap:255 255, sta:10 2, prof:1
I (19671) wifi: state: init -> auth (b0)
I (19671) wifi: state: auth -> assoc (0)
I (20681) wifi: state: assoc -> init (4)
I can't find where to look to understand what the pointer to init (4) means. Thanks in advance.
I (47061) wifi: n:10 2, o:10 0, ap:255 255, sta:10 2, prof:1
I (48041) wifi: state: init -> auth (b0)
I (48051) wifi: state: auth -> assoc (0)
I (48061) wifi: state: assoc -> run (10)
Unsuccesful connections have this (last line is different):
I (18691) wifi: n:10 2, o:1 0, ap:255 255, sta:10 2, prof:1
I (19671) wifi: state: init -> auth (b0)
I (19671) wifi: state: auth -> assoc (0)
I (20681) wifi: state: assoc -> init (4)
I can't find where to look to understand what the pointer to init (4) means. Thanks in advance.