Hello, i have a software running on a esp-idf3.0.9 where the sta connection to an AP fails due to the short timeout (probably).
If i try many times to connect, sometimes it works. If I connect to a faster AP the code works.
Most of time I try to connect to a slow AP i have the event
SYSTEM_EVENT_STA_DISCONNECTED with disconnected.reason = WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT.
Is there a way to increase the timeout time for the handshake?
Thanks
idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs
-
- Posts: 41
- Joined: Sun May 03, 2020 2:37 pm
idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs
Last edited by brazoayeye on Thu Jun 11, 2020 7:40 am, edited 2 times in total.
-
- Posts: 41
- Joined: Sun May 03, 2020 2:37 pm
Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs
I'm still having the same problem, that could be caused by another fact. I have multiple aps with the same SSID, and a master device that can register wifi clients in one or another ap, or move from one to another.
Is there something I can check (or I can do) to solve this bug?
PS: I tested also with version 4.2 with the same results: sometimes it connects, sometimes it doesn't (in some positions with a defined distance between AP always works).
Thanks
Is there something I can check (or I can do) to solve this bug?
PS: I tested also with version 4.2 with the same results: sometimes it connects, sometimes it doesn't (in some positions with a defined distance between AP always works).
Thanks
Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs
Hi, did you solved this problem? If yes, how did you do it?
-
- Posts: 41
- Joined: Sun May 03, 2020 2:37 pm
Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs
Nope, only a workaround (when fails i try also other aps with same SSID fixing the MAC in the config)
Who is online
Users browsing this forum: No registered users and 252 guests