[][src]Function openthread_sys::otPlatDiagProcess

pub unsafe extern "C" fn otPlatDiagProcess(
    aInstance: *mut otInstance,
    aArgsLength: u8,
    aArgs: *mut *mut c_char,
    aOutput: *mut c_char,
    aOutputMaxLen: size_t
) -> otError

This function processes a factory diagnostics command line.

@param[in] aInstance The OpenThread instance for current request. @param[in] aArgsLength The number of arguments in @p aArgs. @param[in] aArgs The arguments of diagnostics command line. @param[out] aOutput The diagnostics execution result. @param[in] aOutputMaxLen The output buffer size.

@retval OT_ERROR_INVALID_ARGS The command is supported but invalid arguments provided. @retval OT_ERROR_NONE The command is successfully process. @retval OT_ERROR_INVALID_COMMAND The command is not valid or not supported.