update readme

This commit is contained in:
DavidVentura
2024-01-27 15:00:47 +01:00
parent eef3283aba
commit b1c5e18685
+2
View File
@@ -35,11 +35,13 @@ The payload is command-dependent; most commands have only a literal payload, but
By using the second byte in the payload as a discriminant, we can split the payload into two types of subcommands: By using the second byte in the payload as a discriminant, we can split the payload into two types of subcommands:
Control packets: Control packets:
![](diagrams/control_packet.svg) ![](diagrams/control_packet.svg)
The payload on control packets is "encrypted" when the length is > 5. The payload on control packets is "encrypted" when the length is > 5.
Data packets: Data packets:
![](diagrams/data_packet.svg) ![](diagrams/data_packet.svg)
Data packets further discriminate based on the first 4 bytes into: Audio Data (0x55aa15a8), Video data. Data packets further discriminate based on the first 4 bytes into: Audio Data (0x55aa15a8), Video data.