Function esp_idf_svc::hal::sys::esp_netif_get_mac
source ยท pub unsafe extern "C" fn esp_netif_get_mac(
esp_netif: *mut esp_netif_obj,
mac: *mut u8,
) -> i32
Expand description
@brief Get the mac address for the interface instance
@param[in] esp_netif Handle to esp-netif instance @param[out] mac Resultant mac address for the related network interface @return - ESP_OK - success - ESP_ERR_ESP_NETIF_IF_NOT_READY - interface status error - ESP_ERR_NOT_SUPPORTED - mac not supported on this interface