Function esp_idf_svc::sys::esp_ping_get_profile

source ·
pub unsafe extern "C" fn esp_ping_get_profile(
    hdl: *mut c_void,
    profile: u32,
    data: *mut c_void,
    size: u32,
) -> i32
Expand description

@brief Get runtime profile of ping session

@param hdl handle of ping session @param profile type of profile @param data profile data @param size profile data size @return - ESP_ERR_INVALID_ARG: invalid parameters (e.g. ping handle is null, etc) - ESP_ERR_INVALID_SIZE: the actual profile data size doesn’t match the “size” parameter - ESP_OK: get profile successfully