esp_idf_svc::hal::sys

Function esp_netif_ppp_get_params

Source
pub unsafe extern "C" fn esp_netif_ppp_get_params(
    netif: *mut esp_netif_obj,
    config: *mut esp_netif_ppp_config,
) -> i32
Expand description

@brief Gets parameters configured in the supplied esp-netif.

@param[in] esp_netif Handle to esp-netif instance @param[out] config Pointer to PPP netif configuration structure

@return ESP_OK on success, ESP_ERR_ESP_NETIF_INVALID_PARAMS if the supplied netif is not of PPP type, or netif is null