Function openthread_sys::otPingSenderPing

source ยท
pub unsafe extern "C" fn otPingSenderPing(
    aInstance: *mut otInstance,
    aConfig: *const otPingSenderConfig,
) -> otError
Expand description

Starts a ping.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aConfig The ping config to use.

@retval OT_ERROR_NONE The ping started successfully. @retval OT_ERROR_BUSY Could not start since busy with a previous ongoing ping request. @retval OT_ERROR_INVALID_ARGS The @p aConfig contains invalid parameters (e.g., ping interval is too long).