Function esp_idf_svc::hal::sys::esp_efuse_mac_get_default
source ยท pub unsafe extern "C" fn esp_efuse_mac_get_default(
mac: *mut u8,
) -> i32
Expand description
@brief Return base MAC address which is factory-programmed by Espressif in EFUSE.
@param mac base MAC address, length: 6 bytes/8 bytes. length: 6 bytes for MAC-48 8 bytes for EUI-64(used for IEEE 802.15.4, if CONFIG_SOC_IEEE802154_SUPPORTED=y)
@return ESP_OK on success ESP_ERR_INVALID_ARG mac is NULL