Index: firmware/App/Services/SystemCommMessages.h =================================================================== diff -u -r2e56064726838bfb626ec3ea40132c4e3681639a -r59357d3831aa60f17ccdfbe0eef1a005935b9a58 --- firmware/App/Services/SystemCommMessages.h (.../SystemCommMessages.h) (revision 2e56064726838bfb626ec3ea40132c4e3681639a) +++ firmware/App/Services/SystemCommMessages.h (.../SystemCommMessages.h) (revision 59357d3831aa60f17ccdfbe0eef1a005935b9a58) @@ -7,8 +7,8 @@ * * @file SystemCommMessages.h * -* @author (last) Michael Garthwaite -* @date (last) 07-Feb-2023 +* @author (last) Dara Navaei +* @date (last) 20-May-2023 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -48,6 +48,13 @@ #define ACK_REQUIRED TRUE ///< Require an ACK. #define ACK_NOT_REQUIRED FALSE ///< Not require an ACK. +/// UI response payload data structure +typedef struct +{ + BOOL accepted; ///< Accepted/Rejected + U32 rejectionReason; ///< Rejection reason if not accepted. +} UI_RESPONSE_PAYLOAD_T; + // ********** public function prototypes ********** U32 serializeMessage( MESSAGE_T msg, COMM_BUFFER_T buffer, BOOL ackReq ); @@ -169,11 +176,18 @@ // MSG_ID_HD_SEND_CHEM_FLUSH_SAMPLE_PASS_FAIL_TO_DG void handleReceiveChemFlushSampleResultsFromHD( MESSAGE_T *message ); +// MSG_ID_DG_SET_RO_MODE_ONLY +void handleSetROOnlyMode( MESSAGE_T* message ); + +// MSG_ID_DG_REQUEST_RO_MODE_ONLY_STATUS +void requestROOnlyModeStatusFromUI( void ); + // *********** public test support message functions ********** // MSG_TESTER_LOG_IN void handleTesterLogInRequest( MESSAGE_T *message ); BOOL isTestingActivated( void ); +void setTesterStatusToLoggedOut( void ); // MSG_ID_DG_ALARM_STATE_OVERRIDE void handleTestAlarmStateOverrideRequest( MESSAGE_T *message ); @@ -382,11 +396,13 @@ // MSG_ID_DG_FANS_DUTY_CYCLE_OVERRIDE void handleSetFansDutyCycleOverrideRequest( MESSAGE_T *message ); +#ifndef _RELEASE_ // MSG_ID_DG_GET_SW_CONFIG_RECORD void handleGetDGSoftwareConfigRecord( MESSAGE_T *message ); // MSG_ID_DG_SET_SW_CONFIG_RECORD void handleSetDGSoftwareConfigRecord( MESSAGE_T *message ); +#endif // MSG_ID_DG_HD_COMMUNICATION_STATUS void handleTestHDCommunicationStatusOverrideRequest( MESSAGE_T *message ); @@ -418,9 +434,6 @@ // MSG_ID_DG_GEN_IDLE_PUBLISH_INTERVAL_OVERRIDE void handleTestGenIdlePublishIntervalOverride( MESSAGE_T * message ); -// MSG_ID_DG_DRAIN_PUMP_CURRENT_OVERRIDE -void handleTestDGDrainPumpCurrentOverrideRequest( MESSAGE_T *message ); - // MSG_ID_DG_DRAIN_PUMP_DIRECTION_OVERRIDE void handleTestDGDrainPumpDirectionOverrideRequest( MESSAGE_T *message ); @@ -465,6 +478,27 @@ // MSG_ID_DG_SET_DIALYSATE_MIXING_RATIOS void handleTestDGSetDialysateMixingRatios( MESSAGE_T *message ); +// MSG_ID_DG_SET_TEST_CONFIGURATION +void handleTestDGSetTestConfig( MESSAGE_T *message ); + +// MSG_ID_DG_GET_TEST_CONFIGURATION +void handleTestDGGetTestConfig( MESSAGE_T* message ); + +// MSG_ID_DG_RESET_ALL_TEST_CONFIGURATIONS +void handleTestDGResetAllTestConfigs( MESSAGE_T* message ); + +// MSG_ID_DG_DIALIN_CHECK_IN +void handleTestDGDialinCheckIn( MESSAGE_T* message ); + +// MSG_ID_DG_GET_LOAD_CELLS_TARE_VALUES +void handleTestDGGetLoadCellsTareValues( MESSAGE_T* message ); + +// MSG_ID_DG_SET_LOAD_CELLS_TARE_VALUES +void handleTestDGSetLoadCellsTareValues( MESSAGE_T* message ); + +// MSG_ID_DG_SET_COND_SENSOR_CAL_TABLE +void handleTestDGSetConductivitySensorCalTable( MESSAGE_T* message ); + /**@}*/ #endif