Index: firmware/App/Modes/OperationModes.h =================================================================== diff -u -r0a4dcd288d4347b85baaa0b07da568b6add5eac7 -r35a326b0f9f2fd83bac4be54e67ebde2d3f2c7e1 --- firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 0a4dcd288d4347b85baaa0b07da568b6add5eac7) +++ firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 35a326b0f9f2fd83bac4be54e67ebde2d3f2c7e1) @@ -31,6 +31,8 @@ // ********** public definitions ********** +#define NO_SUB_STATE 0xFF ///< value for when submode does not have specific substates and is not applicable. + /// Payload record structure for op mode broadcast message typedef struct { @@ -50,6 +52,7 @@ CONFIRMATION_REQUEST_STATUS_T getConfirmationRequestStatus( GENERIC_CONFIRM_ID_T request_id ); // Get the current confirmation request status void setConfirmationRequestStatus( GENERIC_CONFIRM_ID_T request_id, CONFIRMATION_REQUEST_STATUS_T status ); // Set the confirmation request status GENERIC_CONFIRM_ID_T addConfirmationRequest( GENERIC_CONFIRM_ID_T request_id, GENERIC_CONFIRM_COMMAND_T request_type, U32 reject_reason ); // Add a new confirmation request +void setCurrentSubState( U32 subState ); // Set the current substate. BOOL testSetOperationMode( HD_OP_MODE_T newMode ); // Force transition to a given mode (if allowed) BOOL testSetOpModePublishIntervalOverride( U32 ms );