aboutsummaryrefslogtreecommitdiffstats
path: root/doc/protocol
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-10-25 11:10:03 -0400
committerSam Anthony <sam@samanthony.xyz>2025-10-25 11:10:03 -0400
commit5bcd2f2926f2cd0da3f77755d7109faad28751ff (patch)
tree2a17a37af92188151d58b63312d3b9b00ad49325 /doc/protocol
parent4ef8630838515cd8f5702d27c14aee00e2ae2e89 (diff)
downloadcan-gauge-interface-5bcd2f2926f2cd0da3f77755d7109faad28751ff.zip
remove old USB protocol doc
Diffstat (limited to 'doc/protocol')
-rw-r--r--doc/protocol26
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]*