Szilárd Greszler
/
robotkocsi_OS
Controller firmware for a mobile robot, having a K64F MCU on board. Please see README.md for details.
Diff: commandhandler.h
- Revision:
- 0:e5ee05ce9e0c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/commandhandler.h Wed May 30 15:10:48 2018 +0000 @@ -0,0 +1,9 @@ +// receive buffer size is one character bigger than max. acceptable command length to leave space for null terminator +#define BT_RB_SIZE 33 + +typedef char simplestr[BT_RB_SIZE]; + +void gotChar(); +void cmdHandlerMain(void const *argument); +void handleCommand(); +void execCommand(char *cmd, int argc, simplestr *args);