1 HCP frame format {#hcpf}
4 The Host Communication Protocol (HCP) describes a general way of sending commands and information
7 \image html hcp.svg "HCP frame format"
8 \image latex hcp.eps "HCP frame format"
12 The Commands define the general action that is going to be executed. However, each command
13 can have several Arguments each with data attached.
15 | CMD | Num Args | Payload |
16 | ------- | -------- | -------- |
17 | 2 bytes | 2 bytes | xx bytes |
19 All fields are using unsigned data types.
23 The Argument is used as a complement to the command if it is needed and can contain arbitrary data.
26 | ------- | --------| ---------- |
27 | 2 bytes | 2 bytes | size bytes |
29 All fields are using unsigned data types.