32-character long WiFi SSID Support

michal1
Posts: 3
Joined: Tue May 14, 2019 7:26 pm

32-character long WiFi SSID Support

Postby michal1 » Wed Dec 04, 2019 4:57 pm

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!

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: 32-character long WiFi SSID Support

Postby WiFive » Thu Dec 05, 2019 7:03 am

It should be either 32 characters long OR NULL-terminated, but I haven't tried.

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

Who is online

Users browsing this forum: Baidu [Spider], ESP_Roland and 256 guests