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
- Committer:
- dralisz82
- Date:
- 2018-05-30
- Revision:
- 0:e5ee05ce9e0c
File content as of revision 0:e5ee05ce9e0c:
// 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);