esp-rs / esp-idf-svc

Type-Safe Rust Wrappers for various ESP-IDF services (WiFi, Network, Httpd, Logging, etc.)
https://docs.esp-rs.org/esp-idf-svc/
Apache License 2.0
332 stars 183 forks source link

Cannot Change Wifi Connect Timeout #509

Open smallbraingames opened 1 month ago

smallbraingames commented 1 month ago

When connecting to wifi, a timeout of 15 seconds is hard coded here (https://github.com/esp-rs/esp-idf-svc/blob/7cf3a9ac4a43c8eba6ead60321e53019a9e3564b/src/wifi.rs#L2422C1-L2431C1).

I have a use case where I want to give users feedback faster than this. Is there a reason why this timeout is so long? Could it be made configurable?