When we set wifi_station_set_reconnect_policy to true and there is some kind of problem with the wifi (wrong password or ap not present), the module tries to reconnect every single second ("reconnect after 1s").
We use STATIONAP_MODE in this case so the user has an option to set the correct wifi options (via a web server accessible through the access point the module opens). The problem with this is, all those reconnection attempts seem to cause a very high cpu load which makes the access point quite laggy. Also, the module even seems to change channels (while scanning) which also disrupts the access point feature.
I think that one attempt every second is way too much.
Is there any option to expand the reconnection time to maybe 15 seconds?
When we set wifi_station_set_reconnect_policy to true and there is some kind of problem with the wifi (wrong password or ap not present), the module tries to reconnect every single second ("reconnect after 1s"). We use STATIONAP_MODE in this case so the user has an option to set the correct wifi options (via a web server accessible through the access point the module opens). The problem with this is, all those reconnection attempts seem to cause a very high cpu load which makes the access point quite laggy. Also, the module even seems to change channels (while scanning) which also disrupts the access point feature. I think that one attempt every second is way too much.
Is there any option to expand the reconnection time to maybe 15 seconds?