esp_idf_sys

Function esp_netif_ppp_get_params

Source
pub unsafe extern "C" fn esp_netif_ppp_get_params(
    netif: *mut esp_netif_t,
    config: *mut esp_netif_ppp_config_t,
) -> esp_err_t
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