Define protobuf message field for FlightController Firmware Version
It was agreed within the team, that it is reasonable to tell the groundstation (GS) what firmware version is currently flashed to the flightcontroller (FC). Based on that FW version, the GS can decide e.g. whether specific features are available on the FC or if system shall stop working because the proper/matching FW version is not flashed to the FC.
It now remains to clarify where to add this FW version information into our protobuf messages.
Facts to be considered:
- The FW version is static and does not change during run-time. It can only be changed if somebody connects the flasher/debugger to the FC and flashes a new firmware.
- Due to that, it is (most likely?!) sufficient to send the FW version to the GS only ONCE after startup.
Proposed solution:
- The team agreed already, that in the startup phase of the overall system, the GS will sent a RESET/STARTUP message to the FC, that resets the timestamps in the FC (and thereby synchronizes the relative time between FC and GS). Therefore, reasonable approach would be to add the version in the response message (from FC to GS) to the RESET/STARTUP.
- Add the FW version field to the BetCALL sensor message.
- The FW version is added as string, e.g. "1.2.3". Alternatively, it can be added as three separate bytes, one for each version number.