diff --git a/docs/protocol.md b/docs/protocol.md index 42f94d8..de661db 100644 --- a/docs/protocol.md +++ b/docs/protocol.md @@ -29,11 +29,11 @@ flowchart TD Every message on the wire is a frame: ```mermaid -%%{init: {'packet': {'bitsPerRow': 16}}}%% +%%{init: {'packet': {'bitsPerRow': 48}}}%% packet-beta 0-15: "message_type" 16-47: "payload_length" -48-63: "payload …" +48-95: "payload …" ``` Total header size: **6 bytes**. `payload_length` is the byte count of the payload only — it does not include the 6-byte header itself.