summaryrefslogtreecommitdiff
path: root/protocol.md
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-18 15:05:02 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-18 15:05:02 +0200
commitea14d5c047e936592d7a0589396c6c55b455695c (patch)
tree16e9e79a4d170a5a362c5ea5a643975a7bbdbede /protocol.md
parent2811447fb6c42b72c04abfc557edf270d4936a97 (diff)
robot/readme.md and protocol.md update
Diffstat (limited to 'protocol.md')
-rw-r--r--protocol.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocol.md b/protocol.md
index f5bb0cc..b5ddeac 100644
--- a/protocol.md
+++ b/protocol.md
@@ -25,9 +25,9 @@ is converted to a single `0xff` on the receiving end, so these duplicated bytes
and the starting byte don't count towards message length.
opcodes are picked sequentially, but the direction bit (LSB) is reserved to
-indicate a transfer from robot to client. this means that the opcode for a
-sensor data request would be `0x12`, but the response opcode would be `0x13`.
-these opcodes are stored as enum constants inside consts.h for code
+indicate a transfer from robot to client (`tx`). this means that the opcode for
+a sensor data request would be `0x12`, but the response opcode would be `0x13`.
+these opcodes are stored as enum constants inside sercomm.h for code
readability.
|code|name|implemented|directions|full name|