Function otDiagProcessCmdLine

Source
pub unsafe extern "C" fn otDiagProcessCmdLine(
    aInstance: *mut otInstance,
    aString: *const c_char,
) -> otError
Expand description

Processes a factory diagnostics command line.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aString A NULL-terminated input string.

@retval OT_ERROR_NONE The command is successfully process. @retval OT_ERROR_INVALID_ARGS The command is supported but invalid arguments provided. @retval OT_ERROR_NOT_IMPLEMENTED The command is not supported. @retval OT_ERROR_NO_BUFS The command string is too long.