Page 1 of 1

MAC ID, real UUID?

Posted: Thu Jul 02, 2020 5:05 pm
by AlexESP32
Hey esp-team ;)

Maybe you can help me:
I want to have an UUID for each esp. Therefore I think the MAC address (6 byte = 54 bit = 2^54 possiblites) is necessary.
But how unique is this MAC address really?
In some cases of other vendors the MAC address is splitted in vendor id and address id. Then this 2^54 possiblites would be much fewer.

The question: Is the MAC address a real random uuid number or are there any dependencies which makes this possiblites fewer.

Thank you very much :)

Re: MAC ID, real UUID?

Posted: Fri Jul 03, 2020 6:59 am
by ESP_Sprite
The MAC is globally unique and not random, as it's given out sequentially to each ESP32/ESP8266/.... Espressif (and on a higher level, the IANA and the companies that bought address blocks from them) make sure that there are no devices with the same MAC anywhere in the world.

Re: MAC ID, real UUID?

Posted: Fri Jul 03, 2020 4:57 pm
by AlexESP32
All right. Thank you :)