Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

WiFi wrong password #6948

Unanswered
maxklimes asked this question in Q&A
Discussion options

Hi there everyone,

I'm working on a couple of projects that all include WiFi in one way or another, and I've noticed that there is no way to determine if the user has entered a wrong password when trying to connect to a WiFi network. There seems to be the wifi_station_get_connect_status() function on ESP8266 that can return STATION_WRONG_PASSWORD. However, I've come to discover that this function isn't present on ESP32 and it's functionality should all be in the WiFi.status()function instead. WiFi.status()does not differentiate between a failed connection and a wrong password though. I've tried Googling all around, but can't for the life of me figure out how to determine if a password is wrong. Has anyone else encountered this issue? Maybe a separate library that retains this functionality?

If it's of any help, I'm connecting in STA mode via the ESP.waitForConnectResult() function. Thanks in advance!

You must be logged in to vote

Replies: 2 comments

Comment options

did you find a solution i have this problem too

You must be logged in to vote
0 replies
Comment options

Check this

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /