MAC ID, real UUID?

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

MAC ID, real UUID?

Postby AlexESP32 » Thu Jul 02, 2020 5:05 pm

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 :)

ESP_Sprite
Posts: 8999
Joined: Thu Nov 26, 2015 4:08 am

Re: MAC ID, real UUID?

Postby ESP_Sprite » Fri Jul 03, 2020 6:59 am

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.

AlexESP32
Posts: 65
Joined: Thu Oct 03, 2019 9:41 am

Re: MAC ID, real UUID?

Postby AlexESP32 » Fri Jul 03, 2020 4:57 pm

All right. Thank you :)

Who is online

Users browsing this forum: No registered users and 84 guests