esp32_nat_router
esp32_nat_router copied to clipboard
sta connection maximum SSID: 31char
- When set an SSID with 32 char, the sta try to connect to an SSID with first 31 entered char (last char is ignored)
- User interface is too small to show all the 32 char in the web server, but the complete SSID is present in that field. Console print SSID with all chars
Me and my imaginary friend would appreciate a solution.
I've been bumped today, and I forwarded.
Thanks!
To my understanding the ESP32 only supports SSIDs with max len of 31. See https://github.com/espressif/esp-idf/blob/7d75213674b4572f90c68162ad6fe9b16dae65ad/components/esp_wifi/include/esp_wifi_types.h#L225
(32 chars - NULL terminated):
/** @brief STA configuration settings for the ESP32 */ typedef struct { uint8_t ssid[32]; /**< SSID of target AP. Null terminated string. */ uint8_t password[64]; /**< Password of target AP. Null terminated string.*/
Ok, I'll report it to the idf git. Some internet providers gives a router with a fixed 32-length password, so it's not an unusual situation....