pub unsafe extern "C" fn esp_wifi_get_mac(
    ifx: wifi_interface_t,
    mac: *mut u8
) -> esp_err_t
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