Function otDiagProcessCmd

Source
pub unsafe extern "C" fn otDiagProcessCmd(
    aInstance: *mut otInstance,
    aArgsLength: u8,
    aArgs: *mut *mut c_char,
) -> otError
Expand description

Processes a factory diagnostics command line.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aArgsLength The number of elements in @p aArgs. @param[in] aArgs An array of arguments.

@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_NOT_IMPLEMENTED The command is not supported.