v3.0 to v3.1 migration guide? WiFi not working...
-
- Posts: 151
- Joined: Thu Jun 15, 2017 4:54 am
- Location: New Zealand
v3.0 to v3.1 migration guide? WiFi not working...
Is there a guide to updating an ESP-IDF application from v3.0 to v3.1? Specifically I'm having trouble getting WiFi to connect to my access point after simply changing to release/3.1 (0e2eccfad0feb15629a931f1183a6d9841ee0487) and rebuilding. Before I start going through diffs with a fine-toothed comb, is there something obvious I should look at first? SSID/password is correct.
-
- Posts: 151
- Joined: Thu Jun 15, 2017 4:54 am
- Location: New Zealand
Re: v3.0 to v3.1 migration guide? WiFi not working...
I downgraded ESP-IDF to v3.1.2 (rather than release/v3.1) and WiFi seems to connect properly. So something seems to have broken WiFi between Jan 2nd and Jan 25th. I'll stick with 3.1.2 for now.
Re: v3.0 to v3.1 migration guide? WiFi not working...
According to my observations in the new versions of IDF (it seems after 3.0.x) all password login modes on the WIFI_AUTH_WPA_WPA2_PSK access point do not work
however, logging in without a WIFI_AUTH_OPEN without password works fine.
I do my code in the process of creating use WIFI_AUTH_OPEN
I also noticed that apple devices (IOS) successfully connect via WIFI_AUTH_WPA_WPA2_PSK, while android does not work
however, logging in without a WIFI_AUTH_OPEN without password works fine.
I do my code in the process of creating use WIFI_AUTH_OPEN
I also noticed that apple devices (IOS) successfully connect via WIFI_AUTH_WPA_WPA2_PSK, while android does not work
I (27201) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (27203) wifi: station: 30:a8:db:cf:5a:62 join, AID=1, bgn, 20
I (63361) wifi: station: 30:a8:db:cf:5a:62 leave, AID = 1
I (63363) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (67905) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (67907) wifi: station: 30:a8:db:cf:5a:62 join, AID=1, bgn, 20
I (104057) wifi: station: 30:a8:db:cf:5a:62 leave, AID = 1
I (104059) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (108659) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (108661) wifi: station: 30:a8:db:cf:5a:62 join, AID=1, bgn, 20
I (144807) wifi: station: 30:a8:db:cf:5a:62 leave, AID = 1
I (144807) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (149367) wifi: n:11 2, o:11 2, ap:11 2, sta:11 2, prof:11
I (149369) wifi: station: 30:a8:db:cf:5a:62 join, AID=1, bgn, 20
Last edited by brp80000 on Wed Jan 30, 2019 6:20 am, edited 1 time in total.
-
- Posts: 151
- Joined: Thu Jun 15, 2017 4:54 am
- Location: New Zealand
Re: v3.0 to v3.1 migration guide? WiFi not working...
Interesting - although I'm not sure this accounts for my case where 3.1.2 works, but head of the 3.1 branch doesn't. Can anyone from Espressif comment on this?
Re: v3.0 to v3.1 migration guide? WiFi not working...
Now I tried to run an example from the IDF 3.1.2 a simple Wi-Fi.
It doesn't work)))
It doesn't work)))
Re: v3.0 to v3.1 migration guide? WiFi not working...
Run an example (in its pure form, without changes) from the IDF 3.1.2 a simple Wi-Fi
1. Sony device. With android 6.0.1
Connection hangs on .... Getting the IP address
2. Samsung device. With android 4.3
Connection hangs on .... Getting the IP address
3. Apple device. With IOS 4
Connection FINE
1. Sony device. With android 6.0.1
Connection hangs on .... Getting the IP address
2. Samsung device. With android 4.3
Connection hangs on .... Getting the IP address
3. Apple device. With IOS 4
Connection FINE
Re: v3.0 to v3.1 migration guide? WiFi not working...
Someone working with the Wi-Fi WIFI_AUTH_WPA_WPA2_PSK authentication (password is not empty)
Is there a problem with me or someone else?
Is there a problem with me or someone else?
Re: v3.0 to v3.1 migration guide? WiFi not working...
I did not expect from ESP problems with WiFi.
If i use .max_connection = 1 the connection hangs on getting the IP address when using WIFI_AUTH_WPA_WPA2_PSK. IOS devices connect perfectly. The problem is only when connecting with android I have tested three devices. If you use WIFI_AUTH_OPEN any devices connect successfully.
If i use .max_connection = 4 (for example) with WIFI_AUTH_WPA_WPA2_PSK. All devices are connected and get ip. But be sure to have a network device with IOS.
What could be the problem?
If i use .max_connection = 1 the connection hangs on getting the IP address when using WIFI_AUTH_WPA_WPA2_PSK. IOS devices connect perfectly. The problem is only when connecting with android I have tested three devices. If you use WIFI_AUTH_OPEN any devices connect successfully.
If i use .max_connection = 4 (for example) with WIFI_AUTH_WPA_WPA2_PSK. All devices are connected and get ip. But be sure to have a network device with IOS.
What could be the problem?
Re: v3.0 to v3.1 migration guide? WiFi not working...
is it difficult to comment?
1. the problem have us we are working and are silent
2. you have problem ... look for the bug
1. the problem have us we are working and are silent
2. you have problem ... look for the bug
Re: v3.0 to v3.1 migration guide? WiFi not working...
Sorry for the issue introduced in IDFv3.1.2. We have found the root cause. And it will be fixed in release/v3.1 branch today. The commit ID will be be115ec3ab28f7bbea3f4c7e5be3dd6b17bb8912. Please update IDF after the bugfix is merged into release/v3.1 and check whether it solves your problem.
Who is online
Users browsing this forum: No registered users and 76 guests