Function esp_idf_svc::sys::esp_netif_set_mac

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

@brief Set the mac address for the interface instance

@param[in] esp_netif Handle to esp-netif instance @param[in] mac Desired 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