Index: firmware/App/FPCommon.h =================================================================== diff -u -re5b0e2aedae6e58251b8a028c7fabd947c53abaa -r8940f67c485a23e20e14e4dc24e79339f80cc584 --- firmware/App/FPCommon.h (.../FPCommon.h) (revision e5b0e2aedae6e58251b8a028c7fabd947c53abaa) +++ firmware/App/FPCommon.h (.../FPCommon.h) (revision 8940f67c485a23e20e14e4dc24e79339f80cc584) @@ -1,15 +1,15 @@ -#ifndef __RO_COMMON_H__ -#define __RO_COMMON_H__ +#ifndef __FP_COMMON_H__ +#define __FP_COMMON_H__ #include "hal_stdtypes.h" // ********** version ********** -#define RO_VERSION_MAJOR 0 -#define RO_VERSION_MINOR 0 -#define RO_VERSION_MICRO 0 -#define RO_VERSION_BUILD 3 +#define FP_VERSION_MAJOR 0 +#define FP_VERSION_MINOR 0 +#define FP_VERSION_MICRO 0 +#define FP_VERSION_BUILD 3 // ********** development build switches ********** @@ -33,20 +33,30 @@ #pragma pack(push,1) -/// Payload record structure for an RO versions message. +/// Payload record structure for an FP versions message. typedef struct { - U08 major; ///< RO version major revision. - U08 minor; ///< RO version minor revision. - U08 micro; ///< RO version micro revision. - U16 build; ///< RO build version. - U08 fpgaId; ///< RO FPGA ID. - U08 fpgaMajor; ///< RO FPGA major revision. - U08 fpgaMinor; ///< RO FPGA minor revision. - U08 fpgaLab; ///< RO FPGA lab revision. - U32 compatibilityRev; ///< RO compatibility revision. -} RO_VERSIONS_T; + U08 major; ///< FP version major revision. + U08 minor; ///< FP version minor revision. + U08 micro; ///< FP version micro revision. + U16 build; ///< FP build version. + U08 fpgaId; ///< FP FPGA ID. + U08 fpgaMajor; ///< FP FPGA major revision. + U08 fpgaMinor; ///< FP FPGA minor revision. + U08 fpgaLab; ///< FP FPGA lab revision. + U32 compatibilityRev; ///< FP compatibility revision. +} FP_VERSIONS_T; +/// Record defining the fields in a UI version request message. +typedef struct +{ + U08 major; ///< Major version for UI software. + U08 minor; ///< Minor version for UI software. + U08 micro; ///< Micro version for UI software. + U16 build; ///< Build number for UI software. + U32 compatibility; ///< Compatibility revision. +} UI_VERSIONS_T; + #pragma pack(pop) // **** Common Macros ****