Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r0826b00090b65c16a3e52e006cc3c016a6bf6a08 -r4828ff8bd5b5ff97f36de33101d8ca4b9e54bfa1 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 0826b00090b65c16a3e52e006cc3c016a6bf6a08) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 4828ff8bd5b5ff97f36de33101d8ca4b9e54bfa1) @@ -1719,6 +1719,30 @@ /*********************************************************************//** * @brief + * The sendDGParkConcentratePumpsCommand function constructs a DG concetentrate + * pumps park request msg to the DG and queues the msg for transmit on the appropriate CAN channel. + * @details Inputs: none + * @details Outputs: DG park concentrate pumps command msg constructed and queued.. + * @return TRUE if msg successfully queued for transmit, FALSE if not + *************************************************************************/ +BOOL sendDGParkConcentratePumpsCommand( void ) +{ + BOOL result; + MESSAGE_T msg; + + // Create a message record + blankMessage( &msg ); + msg.hdr.msgID = MSG_ID_DG_PARK_CONCENTRATE_PUMPS_CMD_REQUEST; + msg.hdr.payloadLen = 0; + + // Serialize the message (w/ sync, CRC, and appropriate CAN padding) and add serialized message data to appropriate comm buffer + result = serializeMessage( msg, COMM_BUFFER_OUT_CAN_HD_2_DG, ACK_REQUIRED ); + + return result; +} + +/*********************************************************************//** + * @brief * The sendDGStartFlushModeCommand function constructs a DG start/stop * flush mode command message and queues the msg for transmit on the * appropriate CAN channel.