Index: firmware/App/Services/Messaging.h =================================================================== diff -u -r3518e8a088c32e75c0c8960d5e629a7401095feb -r395522dffef1348e176564925656012f529c1910 --- firmware/App/Services/Messaging.h (.../Messaging.h) (revision 3518e8a088c32e75c0c8960d5e629a7401095feb) +++ firmware/App/Services/Messaging.h (.../Messaging.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 Messaging.h * -* @author (last) Sean -* @date (last) 30-Jul-2024 +* @author (last) Shyam Kumar Mathamala +* @date (last) 25-Aug-2025 * -* @author (original) Sean -* @date (original) 30-Jul-2024 +* @author (original) Sean Nash +* @date (original) 01-Aug-2024 * ***************************************************************************/ @@ -34,8 +34,8 @@ // ********** public definitions ********** -#define ACK_REQUIRED TRUE ///< Macro for functions that want to know if an outgoing message requires acknowledgement from receiver. -#define ACK_NOT_REQUIRED FALSE ///< Macro for functions that want to know if an outgoing message requires acknowledgement from receiver. +#define ACK_REQUIRED TRUE ///< Macro for functions that want to know if an outgoing message requires acknowledgement from receiver. +#define ACK_NOT_REQUIRED FALSE ///< Macro for functions that want to know if an outgoing message requires acknowledgement from receiver. #pragma pack(push, 1) /// Payload record structure for ACK response. @@ -147,20 +147,27 @@ // ACK MSG BOOL sendACKMsg( MESSAGE_T *message ); -void handleUITDResetInServiceModeRequest( MESSAGE_T* message ); +// Handle version request message +BOOL handleVersionRequestMessage( MESSAGE_T *message ); // Test Support Messaging Functions ************************** BOOL isTestingActivated( void ); void setTesterStatusToLoggedOut( void ); void handleIncomingMessage( MESSAGE_T *message ); +BOOL handleUICheckIn( MESSAGE_T *message ); BOOL handleTesterLogInRequest( MESSAGE_T *message ); +BOOL testTDSoftwareResetRequest( MESSAGE_T *message ); + +// Test send message helper functions BOOL sendEvent( TD_EVENT_ID_T event, EVENT_DATA_T dat1, EVENT_DATA_T dat2 ); +BOOL sendOffButtonMsgToUI( U08 prompt ); -// MSG_ID_TD_SOFTWARE_RESET_REQUEST -BOOL handleTDSoftwareResetRequest( MESSAGE_T *message ); +BOOL testSetTestConfiguration( MESSAGE_T *message ); +BOOL testGetTestConfiguration( MESSAGE_T *message ); +BOOL testResetAllTestConfigurations( MESSAGE_T *message ); /**@}*/