Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(wlan): Use time delay instead of retires to determine fallback AP start #190

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

Slider0007
Copy link
Owner

@Slider0007 Slider0007 commented Nov 13, 2024

Use time delay of >120s after boot instead of number of retires to determine start of fallback AP if initial connection cannot be established (e.g. due to wrong password)
--> This ensures a minimum retry time frame completly independend of underlaying reconnect cycle which could be different on different hardware or ESP-IDF releases

Hardcoded: 120s

Note 1: The actual time is not exactly 120s --> it's 120 seconds plus the time until next connection retry.
Note 2: Optimizes initial implementation of #186

@Slider0007 Slider0007 merged commit d9875ff into develop Nov 13, 2024
10 checks passed
@Slider0007 Slider0007 deleted the fallback-ap branch November 13, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant