I've created a project based on v5.4.2\esp-idf\examples\wifi\getting_started\softAP. Using the default configuration the samlpe works fine. But when I change the Wifi password to "vargen" esp_wifi_set_config() fails with ESP_ERR_WIFI_PASSWORD.
Unfortunately esp_wifi_set_config() is not available in source so I can't step into the code to see why it fails.
After several tests it turns out that password must have at least 8 characters. But where is this defined? And how come that menuconfig has checks for length?
esp_wifi_set_config() returns ESP_ERR_WIFI_PASSWORD
-
MatsWebjorn
- Posts: 1
- Joined: Wed Jul 30, 2025 5:26 pm
-
nopnop2002
- Posts: 362
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: esp_wifi_set_config() returns ESP_ERR_WIFI_PASSWORD
The WPA2 security protocol mandates a minimum password length of 8 characters.
Who is online
Users browsing this forum: Baidu [Spider], PetalBot and 3 guests