esp32 wlan sta connect with wrong password sta.status return 205 #9572
Answered
by
IhorNehrutsa
puppet13th
asked this question in
Hardware & Peripherals
-
when connecting sta with wrong password ,sta.status() should return 202, but it return 205:
firmware : MicroPython v1.19.1-528-gb8982ec5f on esp32-c3 |
Beta Was this translation helpful? Give feedback.
Answered by
IhorNehrutsa
Nov 10, 2023
Replies: 1 comment 3 replies
-
esp32/network_wlan: Fix network.WLAN.status(). #12932 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
puppet13th
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see https://github.com/espressif/esp-idf/blob/c8243465e45489835d645bf217a6929fd0c01b7f/components/esp_wifi/include/esp_wifi_types.h#L131
esp32/network_wlan: Fix network.WLAN.status(). #12932
In this PR, when an incorrect password causes WIFI_REASON_CONNECTION_FAIL(205), then sta.status() returns STAT_WRONG_PASSWORD.