It appears that the mac address is already burned into the ESP32 and can't be changed in the efuse. Am I correct to make that assumption? I was going to burn a MAC but decided to do a summary on the efuse and found it has a mac (24:0a:c4:16:4b:e8) stored already.
John A
MAC addressed burned into efuse from factory?
Re: MAC addressed burned into efuse from factory?
The docs are confusing on this, but it's my understanding that you can store your own "custom" MAC address in BLK3 of EFUSE.
You then use esp_efuse_mac_get_custom() to retrieve it.
As a side note, I believe that esp_base_mac_addr_set() doesn't do the opposite of esp_base_mac_addr_get(). esp_base_mac_addr_get() returns the MAC address in BLK0, whereas esp_base_mac_addr_set() uses this information for system initialization. If my belief is true, this was very unfortunate function naming.
http://esp-idf.readthedocs.io/en/latest ... dress.html
You then use esp_efuse_mac_get_custom() to retrieve it.
As a side note, I believe that esp_base_mac_addr_set() doesn't do the opposite of esp_base_mac_addr_get(). esp_base_mac_addr_get() returns the MAC address in BLK0, whereas esp_base_mac_addr_set() uses this information for system initialization. If my belief is true, this was very unfortunate function naming.
http://esp-idf.readthedocs.io/en/latest ... dress.html
Re: MAC addressed burned into efuse from factory?
Thanks for pointing out that section of the docs. That's exactly what I needed to know.
John A
John A
Who is online
Users browsing this forum: No registered users and 58 guests