Function esp_idf_hal::sys::esp_wifi_get_mac
source ยท pub unsafe extern "C" fn esp_wifi_get_mac(
ifx: u32,
mac: *mut u8,
) -> i32
Expand description
@brief Get mac of specified interface
@param ifx interface @param[out] mac store mac of the interface ifx
@return
- ESP_OK: succeed
- ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
- ESP_ERR_INVALID_ARG: invalid argument
- ESP_ERR_WIFI_IF: invalid interface