Last change using the old protocol.
[cerebrum.git] / PROTOCOL
blob0f4668a6df105f67a4890c897b7fac982ab36c5c
2  "\\#" [1byte operation]
3  "\\#" [0x01] [2bytes address] [1byte value] write register
4  "\\#" [0x02] [2bytes address] read register
5  "\\#" [0x03] [2bytes address] [1byte length] [n byte payload] write multiple registers
6  "\\#" [0x04] [2bytes address] [1byte length] read multiple registers
8  '\\' characters in the payload are escaped as "\\\\"
10  "\\#" [2 bytes id] [1 byte length] [n bytes args] [dev:1 byte length]call function
12 special functions:
13 0x00: get device descriptor