Skip to content
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

WiFi password length is limited to 32 characters #273

Open
rzeldent opened this issue Nov 24, 2022 · 0 comments
Open

WiFi password length is limited to 32 characters #273

rzeldent opened this issue Nov 24, 2022 · 0 comments

Comments

@rzeldent
Copy link

A wifi password can be more than 32 characters. See the definition of the wifi_ap_config_t)
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/network/esp_wifi.html#_CPPv416wifi_ap_config_t. The maximum length is 64.

This can be changed by updating the default value in the file iotwebconfsettings.h at line 25. The IOTWEBCONF_PASSWORD_LEN should be changed from 33 to 64.

// -- Maximal length of password used in IotWebConfig configuration.
#ifndef IOTWEBCONF_PASSWORD_LEN
# define IOTWEBCONF_PASSWORD_LEN 33
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant