Index: firmware/App/Modes/FPModes/FPOperationModes.h =================================================================== diff -u -r830213bc6dcc1a684610caf78c79d55f2cb41e93 -r269914a43e6b8416f596da27886cdf34402b1cc9 --- firmware/App/Modes/FPModes/FPOperationModes.h (.../FPOperationModes.h) (revision 830213bc6dcc1a684610caf78c79d55f2cb41e93) +++ firmware/App/Modes/FPModes/FPOperationModes.h (.../FPOperationModes.h) (revision 269914a43e6b8416f596da27886cdf34402b1cc9) @@ -34,13 +34,21 @@ #define NO_FP_SUB_STATE 0xFF ///< value for when submode does not have specific substates and is not applicable. +#pragma pack(push, 1) /// Payload record structure for op mode broadcast message typedef struct { U32 opMode; ///< Current operating mode U32 subMode; ///< Current sub-mode of current operating mode } OP_MODE_PAYLOAD_T; +/// Payload structure for FP defeatured status request +typedef struct +{ + BOOL isFPDefeatured; ///< Current operating mode +} FP_DEF_STATUS_PAYLOAD_T; +#pragma pack(pop) + // ********** public function prototypes ********** void initFPOperationModes( void ); // Initialize this unit @@ -59,7 +67,8 @@ void setCurrentFP4thLevelState( U32 state ); // Set the current 4th level state. BOOL testSetFPOperationMode( MESSAGE_T *message ); // Set operation mode override BOOL testSetFPOpModePublishIntervalOverride( MESSAGE_T *message ); // Set operation mode publish interval override -BOOL testSetGeneratePermeateSignal( MESSAGE_T *message ); // Set start stop generate permeate. +BOOL testSetGeneratePermeateSignal( MESSAGE_T *message ); // Set start stop generate permeate. +BOOL testGetFPDefeaturedStatus( MESSAGE_T *message ); // Send a response message with FP defeatured status payload /**@}*/