Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -rc4b276bd7edf7cbcfe0982ccd5703c5571869e59 -ra1a0187daedaf2c12e6f9eccfbf9e423d952e029 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision c4b276bd7edf7cbcfe0982ccd5703c5571869e59) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision a1a0187daedaf2c12e6f9eccfbf9e423d952e029) @@ -7,8 +7,8 @@ * * @file DGInterface.c * -* @author (last) Vinayakam Mani -* @date (last) 02-Jan-2024 +* @author (last) Dara Navaei +* @date (last) 15-Jul-2024 * * @author (original) Sean * @date (original) 08-Apr-2020 @@ -1020,19 +1020,18 @@ /*********************************************************************//** * @brief - * The cmdStartDGHeatDisinfect function sends a start heat disinfect - * command message to the DG. + * The cmdStartDGHeatDisinfectActiveCool function sends a start heat disinfect + * with active cool command message to the DG. * @details Inputs: none * @details Outputs: start heat disinfect mode command sent to DG. * @return none *************************************************************************/ -void cmdStartDGHeatDisinfect( void ) +void cmdStartDGHeatDisinfectActiveCool( void ) { BOOL start = TRUE; - dgCmdResp[ DG_CMD_START_HEAT_DISINFECT ].commandID = DG_CMD_NONE; - - sendDGStartHeatDisinfectModeCommand( start ); + dgCmdResp[ DG_CMD_START_HEAT_DISINFECT_ACTIVE_COOL ].commandID = DG_CMD_NONE; + sendDGStartHeatDisinfectActiveCoolModeCommand( start ); } /*********************************************************************//** @@ -1049,11 +1048,27 @@ dgCmdResp[ DG_CMD_STOP_HEAT_DISINFECT ].commandID = DG_CMD_NONE; - sendDGStartHeatDisinfectModeCommand( start ); + sendDGStartHeatDisinfectActiveCoolModeCommand( start ); } /*********************************************************************//** * @brief + * The cmdStartDGHeatDisinfectPassiveCool function sends a start + * heat disinfect with passive cool command message to DG. + * @details Inputs: none + * @details Outputs: start heat disinfect with passive cool mode command sent to DG. + * @return none + *************************************************************************/ +void cmdStartDGHeatDisinfectPassiveCool( void ) +{ + BOOL start = TRUE; + + dgCmdResp[ DG_CMD_START_HEAT_DISINFECT_PASSIVE_COOL ].commandID = DG_CMD_NONE; + sendDGStartHeatDisinfectPassiveCoolModeCommand( start ); +} + +/*********************************************************************//** + * @brief * The cmdStartDGChemicalDisinfect function sends a start chemical disinfect * command message to the DG. * @details Inputs: none @@ -1118,6 +1133,22 @@ /*********************************************************************//** * @brief + * The cmdStartDGActiveCool function sends a start active cool command + * message to the DG. + * @details Inputs: none + * @details Outputs: start active cool mode command sent to DG. + * @return none + *************************************************************************/ +void cmdStartDGActiveCool( void ) +{ + BOOL start = TRUE; + + dgCmdResp[ DG_CMD_START_ACTIVE_COOL ].commandID = DG_CMD_NONE; + sendDGStopActiveCoolModeCommand( start ); +} + +/*********************************************************************//** + * @brief * The cmdStopDGActiveCool function sends a stop active cool command * message to the DG. * @details Inputs: none @@ -1126,8 +1157,10 @@ *************************************************************************/ void cmdStopDGActiveCool( void ) { + BOOL start = FALSE; + dgCmdResp[ DG_CMD_STOP_ACTIVE_COOL ].commandID = DG_CMD_NONE; - sendDGStopActiveCoolModeCommand(); + sendDGStopActiveCoolModeCommand( start ); } /*********************************************************************//**