chriscook8 / esp-arduino-apboot

ESP8266 wifi configurator in Arduino lang.. uses eeprom for configs, boots to AP mode if no working config found
153 stars 61 forks source link

What happens if SSID is longer than 32 characters? #6

Open cravecode opened 8 years ago

cravecode commented 8 years ago

It looks like you may run into issues where SSIDs longer than 32 characters will run into the password EEPROM address space.

Thank you so much for this repo!!

pierzogad commented 8 years ago

According to the documentation of the standard, the length of an SSID should be a maximum of 32 characters (32 octets, normally ASCII letters and digits, though the standard itself doesn't exclude values).

Some access point/router firmware versions use null-terminated strings and accept only 31 characters.

So it's not an issue.