[][src]Function esp_idf_sys::esp_base_mac_addr_set

pub unsafe extern "C" fn esp_base_mac_addr_set(mac: *mut u8) -> esp_err_t

@brief Set base MAC address with the MAC address which is stored in BLK3 of EFUSE or external storage e.g. flash and EEPROM.

Base MAC address is used to generate the MAC addresses used by the networking interfaces. If using base MAC address stored in BLK3 of EFUSE or external storage, call this API to set base MAC address with the MAC address which is stored in BLK3 of EFUSE or external storage before initializing WiFi/BT/Ethernet.

@param mac base MAC address, length: 6 bytes.

@return ESP_OK on success