Configuration Communication

There are two stages of communication: configuration and standard communication. Configuration communication occurs once when the computer requests metadata from the PIC microcontroller by sending the Initial Connection Byte (0x01). At this point, the PIC returns the metadata described in Table 4-2.
Table 1. Communication Metadata
Name Size
Info Size 1 byte
Buffer Size 1 byte
Ticks per Meter 4 bytes
Max X 2 bytes
Max Y 2 bytes
Num Accel Points 1 byte
Accel Points 3 * n bytes