Closed kaeltaz closed 7 years ago
???
This is not last digits of the MAC address
It's not meant to be. It's a 5 digit number derived from the chipID (which the ESP8266 does use to generate it's MAC address).
The purpose of the number is to ensure that if there are multiple units, they will have a unique SSID. It will stay the same for the entire life of the unit as the chipID never changes.
This method is only used when the default hotspot SSID is in use. If you change it, the number wont be used.
This is the code used to generate the SSID:
if (strcmp(hotspotSSID, "espArtNetNode") == 0 || hotspotSSID[0] == '\0') sprintf(hotspotSSID, "espArtNetNode_%05u", (ESP.getChipId() & 0xFF));
Hotspot SSID do not contain last digits of the MAC address