diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-09-17 09:09:05 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-09-17 09:09:05 -0400 |
| commit | 8b1ef0ce3a520d994ed73117069cc7a49fb75ca4 (patch) | |
| tree | d81a7c8ebcb8e845fa8f8d9b5042dc2ae81b6428 /doc | |
| parent | db3b9ef98ff189abcd08555e3ee30601713ef8f6 (diff) | |
| download | can-gauge-interface-8b1ef0ce3a520d994ed73117069cc7a49fb75ca4.zip | |
usbcom go rewrite
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/protocol | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/protocol b/doc/protocol index c7c4849..e99aca9 100644 --- a/doc/protocol +++ b/doc/protocol @@ -1,5 +1,5 @@ <command> ::= <opcode> " " <args> "\n" -<response> ::= (<retval> | "nack") "\n" +<response> ::= (<retval> | "nack" <err>) "\n" Echo: <opcode> ::= "e" @@ -22,3 +22,5 @@ Read EEPROM: <bytes> ::= <byte> <bytetail> | "" <bytetail> ::= " " <byte> <bytetail> | "" <byte> ::= "00"--"FF" +<err> ::= <char> <err> | "" +<char> ::= [a-zA-Z0-9_ ] |