Skip to content

WiFiMulti.run looped when passphrase is incorrect #2468

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

Closed
denisn73 opened this issue Sep 1, 2016 · 3 comments
Closed

WiFiMulti.run looped when passphrase is incorrect #2468

denisn73 opened this issue Sep 1, 2016 · 3 comments
Assignees
Labels
component: libraries type: bug waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.
Milestone

Comments

@denisn73
Copy link

denisn73 commented Sep 1, 2016

Hi. I'm use WiFiMulti.run in AP_STA mode, and when i'm change passphrase of remote AP, programm loops in WiFi multi.run. I assume that the program is looped here:

// wait for connection or fail
while(status != WL_CONNECTED && status != WL_NO_SSID_AVAIL && status != WL_CONNECT_FAILED) {
delay(10);
status = WiFi.status();
}


Because of that I can not go to the server to reconfigure the passphrase, as 'server.handleClient();' function in the my main loop is not processed.
How can I stop WiFi Multi if the key phrase has changed and accordingly become incorrect?
Please fix this bug.

@devyte
Copy link
Collaborator

devyte commented Oct 13, 2017

@denisn73 is this issue still valid in latest git? does it also happen with PR #3215 ?

@devyte devyte added the waiting for feedback Waiting on additional info. If it's not received, the issue may be closed. label Oct 13, 2017
@devyte devyte self-assigned this Jan 8, 2018
@devyte devyte added this to the 2.5.0 milestone Jan 8, 2018
@devyte
Copy link
Collaborator

devyte commented Jan 12, 2018

Closing as duplicate of #3993 .

@devyte devyte closed this as completed Jan 12, 2018
@CanaryEarth
Copy link

Still an issue. Wrong password and wifimulti will fail to try another network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: libraries type: bug waiting for feedback Waiting on additional info. If it's not received, the issue may be closed.
Projects
None yet
Development

No branches or pull requests

3 participants