Files

27 lines
786 B
C
Raw Permalink Normal View History

2016-10-07 23:44:50 +02:00
/*
* CommandLine.h
*
* Created on: 04.05.2013
* Author: skuser
*/
#ifndef COMMANDLINE_H_
#define COMMANDLINE_H_
#include "Terminal.h"
#include "Commands.h"
void CommandLineInit(void);
bool CommandLineProcessByte(uint8_t Byte);
void CommandLineTick(void);
2019-11-15 10:21:40 +01:00
void CommandExecute(const char *command);
void CommandLineAppendData(void const *const Buffer, uint16_t Bytes);
2016-10-07 23:44:50 +02:00
/* Functions for timeout commands */
2019-11-15 10:21:40 +01:00
void CommandLinePendingTaskFinished(CommandStatusIdType ReturnStatusID, char const *const OutMessage); // must be called, when the intended task is finished
extern void (*CommandLinePendingTaskTimeout)(void); // gets called on timeout to end the pending task
2016-10-07 23:44:50 +02:00
void CommandLinePendingTaskBreak(void); // this manually triggers a timeout
#endif /* COMMANDLINE_H_ */