Function esp_idf_sys::esp_ping_get_profile
source · pub unsafe extern "C" fn esp_ping_get_profile(
hdl: esp_ping_handle_t,
profile: esp_ping_profile_t,
data: *mut c_void,
size: u32,
) -> esp_err_t
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