Hi,
I am running ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_APSTA));
Not getting any event or SYSTEM_EVENT_STA_DISCONNECTED to determine if password is incorrect. The behavior was with few months old ESP IDF master brach was different. I was getting SYSTEM_EVENT_STA_DISCONNECTED if i specified wrong password
esp_wifi_set_config(WIFI_IF_STA, ...)
ESP_ERROR_CHECK(esp_wifi_connect());
See documentation.
https://docs.espressif.com/projects/esp ... /wifi.html
n step 4.2, the Wi-Fi connection may fail because, for example, the password is wrong, the AP is not found, etc. In a case like this, <SYSTEM_EVENT_STA_DISCONNECTED> will arise and the reason for such a failure will be provided. For handling events that disrupt Wi-Fi connection, please refer to phase 6.
Correct Password works.
wrong password connect AP not working.
Re: wrong password connect AP not working.
Can some one reply please.
Re: wrong password connect AP not working.
Try another device
After updating IDF to 3-1-1 I have problems connecting WIFI devices with Android 6.0.1 when specified
wifi_config_t wifi_config.ap.authmode = WIFI_AUTH_WPA_WPA2_PSK (also set the SSID and PASS)
At the same time devices with Android 4.0 and IOS connect without problems. if I use WIFI_AUTH_WEP or WIFI_AUTH_OPEN then all devices connect successfully. Before the update WIFI_AUTH_WPA_WPA2_PSK worked
After updating IDF to 3-1-1 I have problems connecting WIFI devices with Android 6.0.1 when specified
wifi_config_t wifi_config.ap.authmode = WIFI_AUTH_WPA_WPA2_PSK (also set the SSID and PASS)
At the same time devices with Android 4.0 and IOS connect without problems. if I use WIFI_AUTH_WEP or WIFI_AUTH_OPEN then all devices connect successfully. Before the update WIFI_AUTH_WPA_WPA2_PSK worked
Re: wrong password connect AP not working.
Did anyone face this issue with latest master code.
I am using this wifi manager
https://github.com/tonyp7/esp32-wifi-ma ... _manager.c
I am using this wifi manager
https://github.com/tonyp7/esp32-wifi-ma ... _manager.c
Who is online
Users browsing this forum: Baidu [Spider] and 122 guests