flash based config testing

Dependencies:   mbed

CommandProcessor/CommandProcessor.h

Committer:
bwang
Date:
2017-03-02
Revision:
1:df6bbacb7bb9
Child:
2:cfc39b0843ae

File content as of revision 1:df6bbacb7bb9:

#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