Szilárd Greszler
/
robotkocsi_OS
Controller firmware for a mobile robot, having a K64F MCU on board. Please see README.md for details.
commandhandler.h@0:e5ee05ce9e0c, 2018-05-30 (annotated)
- Committer:
- dralisz82
- Date:
- Wed May 30 15:10:48 2018 +0000
- Revision:
- 0:e5ee05ce9e0c
Controller firmware for a mobile robot, having a K64F MCU on board.; ; Please read README.md for details.;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dralisz82 | 0:e5ee05ce9e0c | 1 | // receive buffer size is one character bigger than max. acceptable command length to leave space for null terminator |
dralisz82 | 0:e5ee05ce9e0c | 2 | #define BT_RB_SIZE 33 |
dralisz82 | 0:e5ee05ce9e0c | 3 | |
dralisz82 | 0:e5ee05ce9e0c | 4 | typedef char simplestr[BT_RB_SIZE]; |
dralisz82 | 0:e5ee05ce9e0c | 5 | |
dralisz82 | 0:e5ee05ce9e0c | 6 | void gotChar(); |
dralisz82 | 0:e5ee05ce9e0c | 7 | void cmdHandlerMain(void const *argument); |
dralisz82 | 0:e5ee05ce9e0c | 8 | void handleCommand(); |
dralisz82 | 0:e5ee05ce9e0c | 9 | void execCommand(char *cmd, int argc, simplestr *args); |