Page 1 of 1

wifi (STA) max retries

Posted: Wed Dec 28, 2022 5:34 am
by sergiomarina
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