Skip to content

WiFiMulti.run looped when passphrase is incorrect #2468

Closed
@denisn73

Description

@denisn73

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions