Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r89e21ce50fba7e91573780b0f57b6378e3cad84a -r27a68f930508638f2eb6265ebb381c8918cbc37b --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 89e21ce50fba7e91573780b0f57b6378e3cad84a) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 27a68f930508638f2eb6265ebb381c8918cbc37b) @@ -7,8 +7,8 @@ * * @file SystemCommMessages.c * -* @author (last) Dara Navaei -* @date (last) 03-Mar-2022 +* @author (last) Darren Cox +* @date (last) 17-Mar-2022 * * @author (original) Dara Navaei * @date (original) 05-Nov-2019 @@ -28,7 +28,6 @@ #include "Fans.h" #include "FPGA.h" #include "ModeStandby.h" -#include "ModeTreatmentParams.h" #include "OperationModes.h" #include "RTC.h" #include "SampleWater.h" @@ -1204,6 +1203,21 @@ /*********************************************************************//** * @brief + * The sendConsumableInstallCmdResponse function constructs a Consumable Install Confirm user action + * response to the UI and queues the msg for transmit on the appropriate CAN channel. + * @details Inputs: none + * @details Outputs: Consumable Install Confirm command response msg constructed and queued. + * @param accepted T/F - was Consumable Install Confirm request accepted? + * @param reason reason why request was rejected (or zero if accepted) + * @return TRUE if msg successfully queued for transmit, FALSE if not + *************************************************************************/ +BOOL sendConsumableInstallCmdResponse( BOOL accepted, U32 reason ) +{ + return sendUIResponseMsg( MSG_ID_UI_INSTALLATION_CONFIRM_RESPONSE, accepted, reason ); +} + +/*********************************************************************//** + * @brief * The handleInstallationConfirm function handles user confirms disposable * installation msg from the UI. * @details Inputs: none