Page 1 of 1

32-character long WiFi SSID Support

Posted: Wed Dec 04, 2019 4:57 pm
by michal1
Hi all,

I was just wondering whether the IDF supports connecting to WiFi networks with 32-character long SSIDs?

It seems that the ssid field in wifi_sta_config_t is only 32 characters long and NULL-terminated, making the maximal length 31.

The IEEE standard (802.11) however specifies that the maximal length of an SSID is 32 characters (point 7.3.2.1).

This unfortunately means that it is not possible to connect to WiFi networks with a 32-character long SSID using the ESP-IDF.
Could somebody please confirm whether this is a bug in the IDF or I'm missing something?

Thank you very much!

Re: 32-character long WiFi SSID Support

Posted: Thu Dec 05, 2019 7:03 am
by WiFive
It should be either 32 characters long OR NULL-terminated, but I haven't tried.

https://github.com/espressif/esp-idf/issues/3762