Bayley Wang
/
flash_configuration
flash based config testing
Diff: CommandProcessor/CommandProcessor.h
- Revision:
- 1:df6bbacb7bb9
- Child:
- 2:cfc39b0843ae
diff -r 941e150e78b6 -r df6bbacb7bb9 CommandProcessor/CommandProcessor.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CommandProcessor/CommandProcessor.h Thu Mar 02 07:04:47 2017 +0000 @@ -0,0 +1,19 @@ +#ifndef __COMMAND_PROCESSOR_H +#define __COMMAND_PROCESSOR_H + +#include "mbed.h" +#include "PreferenceWriter.h" + +float *checkf(char *s); +int *checkn(char *s); + +void processCmd(Serial *pc, PreferenceWriter *pref, char *buf); +void cmd_ls(Serial *pc); +void cmd_ls2(Serial *pc, char *buf); +void cmd_defaults(Serial *pc); +void cmd_reload(Serial *pc, PreferenceWriter *pref); +void cmd_flush(Serial *pc, PreferenceWriter *pref); + +int tokenize(char *buf, char **out, int max); + +#endif \ No newline at end of file