Index: firmware/App/Modes/OperationModes.h =================================================================== diff -u -r3518e8a088c32e75c0c8960d5e629a7401095feb -r395522dffef1348e176564925656012f529c1910 --- firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 3518e8a088c32e75c0c8960d5e629a7401095feb) +++ firmware/App/Modes/OperationModes.h (.../OperationModes.h) (revision 395522dffef1348e176564925656012f529c1910) @@ -1,17 +1,17 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2024-2026 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file OperationModes.h * -* @author (last) Sean -* @date (last) 30-Jul-2024 +* @author (last) Sean Nash +* @date (last) 18-Apr-2025 * -* @author (original) Sean -* @date (original) 30-Jul-2024 +* @author (original) Sean Nash +* @date (original) 01-Aug-2024 * ***************************************************************************/ @@ -31,13 +31,13 @@ // ********** public definitions ********** -#define NO_SUB_STATE 0xFF ///< value for when submode does not have specific substates and is not applicable. +#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 { - U32 opMode; ///< Current operating mode - U32 subMode; ///< Current sub-mode of current operating mode + U32 opMode; ///< Current operating mode + U32 subMode; ///< Current sub-mode of current operating mode } OP_MODE_PAYLOAD_T; // ********** public function prototypes ********** @@ -61,9 +61,8 @@ void sendOperationStatusEvent( void ); // Constructs and sends operation status event -BOOL testSetOperationMode( TD_OP_MODE_T newMode ); // Force transition to a given mode (if allowed) -BOOL testSetOpModePublishIntervalOverride( U32 ms ); -BOOL testResetOpModePublishIntervalOverride( void ); +BOOL testSetOperationMode( MESSAGE_T *message ); // Force transition to a given mode (if allowed) +BOOL testSetOpModePublishIntervalOverride( MESSAGE_T *message ); // Override op mode data publish interval /**@}*/