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

[SYS] Fix connection validation on unknown indexes and improve erase method #2075

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

1technophile
Copy link
Owner

Description:

Before this fix, connections with Index 1 and 2 were supposed valid when not present in the configuration, generating attempts to connect with those indexes.
Also improve the erase config by adding an erase when the config file is not present (ESP is connected to WiFi without the config file). This way the ESP will not reconnect to the WiFi AP.

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

Connection with Index 1 and 2 were supposed valid when not present in the configuration, generating attempts to connect with those indexes.
And improve erase config by adding an erase when the config file is not present (ESP is connected to WiFi without config file). This way the ESP will not reconnect to the WiFi AP
@1technophile 1technophile merged commit c234afa into development Oct 1, 2024
150 checks passed
@1technophile 1technophile deleted the fix-cnt-index branch October 1, 2024 16:48
1technophile added a commit that referenced this pull request Oct 4, 2024
Erasing the nvs before the start of WM prevent WM from starting, revert a part of #2075
Also remove the erase from setupWiFiManager method
@1technophile 1technophile mentioned this pull request Oct 4, 2024
3 tasks
1technophile added a commit that referenced this pull request Oct 4, 2024
Erasing the nvs before the start of WM prevent WM from starting, revert a part of #2075
Also remove the erase from setupWiFiManager method

Co-authored-by: Florian <[email protected]>
odoral pushed a commit to odoral/OpenMQTTGateway that referenced this pull request Oct 18, 2024
…method (1technophile#2075)

Before this fix, connections with Index 1 and 2 were supposed valid when not present in the configuration, generating attempts to connect with those indexes.
Also improve the erase config by adding an erase when the config file is not present (ESP is connected to WiFi without the config file). This way the ESP will not reconnect to the WiFi AP.

Co-authored-by: Florian <[email protected]>
odoral pushed a commit to odoral/OpenMQTTGateway that referenced this pull request Oct 18, 2024
Erasing the nvs before the start of WM prevent WM from starting, revert a part of 1technophile#2075
Also remove the erase from setupWiFiManager method

Co-authored-by: Florian <[email protected]>
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