-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp_wifi_set_config returns incorrect error code for invalid password (IDFGH-4877) #6673
Comments
Hi @boarchuz ,The error reported by
|
I'll check the reason why the return value is not correct |
@espxiehang Thanks, I've noticed another one too so there may be even more that need ESP_ERR_WIFI_BASE added: Change the above |
Hi @boarchuz ,Thank you for your feedback. |
Environment
Problem Description
When setting WiFi AP config with an invalid password, esp_wifi_set_config() returns a meaningless esp_err_t.
Expected Behavior
Returns ESP_ERR_WIFI_PASSWORD (ESP_ERR_WIFI_BASE + 0xb).
Actual Behavior
Returns 0xb
Code to reproduce this issue
Debug Logs
The text was updated successfully, but these errors were encountered: