Function esp_idf_svc::sys::esp_base_mac_addr_get

source ยท
pub unsafe extern "C" fn esp_base_mac_addr_get(mac: *mut u8) -> i32
Expand description

@brief Return base MAC address which is set using esp_base_mac_addr_set.

@note If no custom Base MAC has been set, this returns the pre-programmed Espressif base MAC address.

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

@return ESP_OK on success ESP_ERR_INVALID_ARG mac is NULL ESP_ERR_INVALID_MAC base MAC address has not been set