Bayley Wang
/
flash_configuration
flash based config testing
CommandProcessor/CommandProcessor.h@1:df6bbacb7bb9, 2017-03-02 (annotated)
- Committer:
- bwang
- Date:
- Thu Mar 02 07:04:47 2017 +0000
- Revision:
- 1:df6bbacb7bb9
- Child:
- 2:cfc39b0843ae
now with configuration terminal!
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bwang | 1:df6bbacb7bb9 | 1 | #ifndef __COMMAND_PROCESSOR_H |
bwang | 1:df6bbacb7bb9 | 2 | #define __COMMAND_PROCESSOR_H |
bwang | 1:df6bbacb7bb9 | 3 | |
bwang | 1:df6bbacb7bb9 | 4 | #include "mbed.h" |
bwang | 1:df6bbacb7bb9 | 5 | #include "PreferenceWriter.h" |
bwang | 1:df6bbacb7bb9 | 6 | |
bwang | 1:df6bbacb7bb9 | 7 | float *checkf(char *s); |
bwang | 1:df6bbacb7bb9 | 8 | int *checkn(char *s); |
bwang | 1:df6bbacb7bb9 | 9 | |
bwang | 1:df6bbacb7bb9 | 10 | void processCmd(Serial *pc, PreferenceWriter *pref, char *buf); |
bwang | 1:df6bbacb7bb9 | 11 | void cmd_ls(Serial *pc); |
bwang | 1:df6bbacb7bb9 | 12 | void cmd_ls2(Serial *pc, char *buf); |
bwang | 1:df6bbacb7bb9 | 13 | void cmd_defaults(Serial *pc); |
bwang | 1:df6bbacb7bb9 | 14 | void cmd_reload(Serial *pc, PreferenceWriter *pref); |
bwang | 1:df6bbacb7bb9 | 15 | void cmd_flush(Serial *pc, PreferenceWriter *pref); |
bwang | 1:df6bbacb7bb9 | 16 | |
bwang | 1:df6bbacb7bb9 | 17 | int tokenize(char *buf, char **out, int max); |
bwang | 1:df6bbacb7bb9 | 18 | |
bwang | 1:df6bbacb7bb9 | 19 | #endif |