The code being used is from the examples(station example). The AP I'm trying to connect to is a normal router on channel 11 which I'm able to connect with other devices.
The most common error received was:
Code: Select all
I (2034) wifi: new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (2034) wifi: state: init -> auth (b0)
I (3034) wifi: state: auth -> init (200)
I (3034) wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (3034) wifi station: retry to connect to the AP
I (3044) wifi station: Error: 2
I (3044) wifi station: connect to the AP fail
I (5094) wifi station: retry to connect to the AP
I (5094) wifi station: Error: 205
I (5094) wifi station: connect to the AP fail
Code: Select all
I (6414) wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (6424) wifi: state: init -> auth (b0)
I (6444) wifi: state: auth -> assoc (0)
I (7444) wifi: state: assoc -> init (400)
I (7444) wifi: new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (7444) wifi station: retry to connect to the AP
I (7444) wifi station: Error: 4
I (7454) wifi station: connect to the AP fail
I (9494) wifi station: retry to connect to the AP
I (9494) wifi station: Error: 205
I (9494) wifi station: connect to the AP fail