Function esp_idf_svc::sys::esp_netif_get_ip_info

source ·
pub unsafe extern "C" fn esp_netif_get_ip_info(
    esp_netif: *mut esp_netif_obj,
    ip_info: *mut esp_netif_ip_info_t,
) -> i32
Expand description

@brief Get interface’s IP address information

If the interface is up, IP information is read directly from the TCP/IP stack. If the interface is down, IP information is read from a copy kept in the ESP-NETIF instance

@param[in] esp_netif Handle to esp-netif instance @param[out] ip_info If successful, IP information will be returned in this argument.

@return - ESP_OK - ESP_ERR_ESP_NETIF_INVALID_PARAMS