defined in uart.h:

IMPORTANT: Make sure, that you use packed struktures in your compiler.

   1 struct str_VersionInfo
   2 {
   3   unsigned char SWMajor;
   4   unsigned char SWMinor;
   5   unsigned char ProtoMajor;
   6   unsigned char ProtoMinor;
   7   unsigned char SWPatch;
   8   unsigned char HardwareError[5];
   9 };

   1 // bitmask for HardwareError[0]
   2 #define FC_ERROR0_GYRO_NICK             0x01
   3 #define FC_ERROR0_GYRO_ROLL             0x02
   4 #define FC_ERROR0_GYRO_YAW              0x04
   5 #define FC_ERROR0_ACC_NICK              0x08
   6 #define FC_ERROR0_ACC_ROLL              0x10
   7 #define FC_ERROR0_ACC_TOP               0x20
   8 #define FC_ERROR0_PRESSURE              0x40
   9 #define FC_ERROR0_CAREFREE              0x80
  10 
  11 // bitmask for HardwareError[1]
  12 #define FC_ERROR1_I2C                   0x01
  13 #define FC_ERROR1_BL_MISSING            0x02
  14 #define FC_ERROR1_SPI_RX                0x04
  15 #define FC_ERROR1_PPM                   0x08
  16 #define FC_ERROR1_MIXER                 0x10
  17 #define FC_ERROR1_RES1                  0x20
  18 #define FC_ERROR1_RES2                  0x40
  19 #define FC_ERROR1_RES3                  0x80
  20