From df3ed451bf11d40e6369b0333fef92c536c57b4d Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 6 Sep 2025 10:50:59 -0400 Subject: usb getchar() --- doc/protocol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/protocol') diff --git a/doc/protocol b/doc/protocol index 5d2cb65..59e807d 100644 --- a/doc/protocol +++ b/doc/protocol @@ -8,12 +8,12 @@ Echo: Write EEPROM: ::= "w" - ::= {:pagesize} - ::= "" + ::= " " " " + ::= "ok" Read EEPROM: ::= "r" - ::= + ::= " " ::= {size} ::= "0"--"2047" @@ -22,4 +22,4 @@ Read EEPROM: ::= "0"--"FF" ::= "0"--"2048" -pagesize := 16 +Messages must not contain NUL ('\0'). -- cgit v1.2.3