wifi (STA) max retries

sergiomarina
Posts: 48
Joined: Wed Feb 05, 2020 6:29 pm

wifi (STA) max retries

Postby sergiomarina » Wed Dec 28, 2022 5:34 am

Hello, at the present the STA application keeps on trying to connect to the access point for ever.
I need to limit the number of the retries. Is this limit configurable? In case, how-to?
Is "esp_wifi_connect()" that keeps on retrying and generates the event "WIFI_EVENT_STA_DISCONNECTED"?
In case, how can I set the max number of the retries?
Thank you, Sergio

\added after IDF 5.0 testing
This problem has been solved in 5.0. Thank you

Who is online

Users browsing this forum: Google [Bot], pctj101 and 68 guests