Refactor protocol/parsing code; implement address parsing
This commit is contained in:
parent
28be3c4e8b
commit
bc849d9662
7 changed files with 303 additions and 159 deletions
18
firmware/src/commands.h
Normal file
18
firmware/src/commands.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#ifndef COMMANDS_H_
|
||||
#define COMMANDS_H_
|
||||
|
||||
#include "config.h"
|
||||
#include "parsing.h"
|
||||
|
||||
void executeCommand(CommandLine cmdLine);
|
||||
|
||||
void commandInit();
|
||||
void commandRead(char* arg);
|
||||
void commandWrite(char* arg);
|
||||
void commandErase();
|
||||
|
||||
// TODO commands only for testing
|
||||
void commandTestRead();
|
||||
void commandTestWrite(char* arg);
|
||||
|
||||
#endif /* COMMANDS_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue