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

WiFi Should Reconnect For Most Reasons #7344

Merged
merged 5 commits into from
Nov 7, 2022

Conversation

mrengineer7777
Copy link
Collaborator

@mrengineer7777 mrengineer7777 commented Oct 11, 2022

Description of Change

Allows WiFi to reconnect for most disconnect reasons. See #7210 for discussion.

Tests scenarios

ESP32-WROOM-32UE (4MB) on custom PCB. Similar pinout to Adafruit FeatherESP32 (Huzzah32).

Tested changes on platform=
https://github.com/tasmota/platform-espressif32/releases/download/v2.0.3/platform-espressif32-2.0.3.zip. WORKS!
https://github.com/tasmota/platform-espressif32/releases/download/v2.0.5/platform-espressif32-2.0.5.zip WORKS!

Related links

Closes #7210
Closes #7296

@mrengineer7777
Copy link
Collaborator Author

Still looking for feedback on this PR

@mrengineer7777
Copy link
Collaborator Author

I have been running the reconnect logic for 3 weeks on my project with no issues. Submitting for review.

@mrengineer7777 mrengineer7777 marked this pull request as ready for review November 4, 2022 19:32
@VojtechBartoska
Copy link
Contributor

@mrengineer7777 Thanks for update, I asked Devs for help with review.

@VojtechBartoska VojtechBartoska added this to the 2.0.6 milestone Nov 7, 2022
@SuGlider SuGlider merged commit bd71449 into espressif:master Nov 7, 2022
@SuGlider
Copy link
Collaborator

SuGlider commented Nov 7, 2022

Thanks @mrengineer7777 for this PR!

@tablatronix
Copy link
Contributor

tablatronix commented May 11, 2023

This should be reverted ASAP #7968

@mrengineer7777
Copy link
Collaborator Author

@tablatronix I strongly disagree. This PR fixed connection issues for multiple users. Your issue is with specific routers. The fix will likely have to be in the WiFi driver in IDF repository. Please keep your comments on the open issue.

@tablatronix
Copy link
Contributor

tablatronix commented May 12, 2023

Not router specific, this is the standard response for all WPA password failures that I tested, rather the PR fix is for non standard behaviors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BT&Wifi BT & Wifi related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The device could not be reconnected! WiFi auto reconnect should occur for all disconnect reasons
6 participants