This is for coordinating our development.
First two bytes contain the command. The next two bytes is the length of the data, then the rest is data.
We have a 16 bit unsigned integer for commands:
6000 CMD_STATUS int - Status of flight has changed, one of:
6001 CMD_PARACHUTE bool - Parachute released if size > 0, else a request to release
6003 CMD_CUTDOWN bool - Glider has been cutdown if size > 0, else a request to release
6005 CMD_DESIRED_HEADING double - The desired heading calculated by the flight management.
6006 CMD_ALT_DROP_POSITION int - 0 - not in altitude drop, 1-4, position from north clockwise
6007 CMD_FINAL_WAYPOINT waypoint_t - The final waypoint, generally the launch point
See configuration files for descriptions and categorisation.
to be finished