diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/protocol | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/doc/protocol b/doc/protocol deleted file mode 100644 index 6c5c46d..0000000 --- a/doc/protocol +++ /dev/null @@ -1,26 +0,0 @@ -<command> ::= <opcode> " " <args> "\n" -<response> ::= (<retval> | "nack" <err>) "\n" - -Echo: -<opcode> ::= "e" -<args> :: <bytes> -<retval> :: <args> - -Write EEPROM: -<opcode> ::= "w" -<args> ::= <addrHi> " " <addrLo> " " <size> " " <bytes> -<retval> ::= "ok" - -Read EEPROM: -<opcode> ::= "r" -<args> ::= <addrHi> " " <addrLo> " " <size> -<retval> ::= <bytes>{size} - -<addrHi> ::= <byte> -<addrLo> :: <byte> -<size> ::= <byte> -<bytes> ::= <byte> <bytetail> | "" -<bytetail> ::= " " <byte> <bytetail> | "" -<byte> ::= "00"--"FF" -<err> ::= <string> -<string> ::= [^\n]* |