esp_base_mac_addr_get() function
Return base MAC address which is set using esp_base_mac_addr_set.
Arguments
mac
base MAC address, length: 6 bytes. length: 6 bytes for MAC-48
Return value
ESP_OK on success ESP_ERR_INVALID_ARG mac is NULL ESP_ERR_INVALID_MAC base MAC address has not been set
Notes
If no custom Base MAC has been set, this returns the pre-programmed Espressif base MAC address.