Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r2f2419f67d9d458837893fef5cc1b21870021026 -r936acbb405970a406c8b1f557ea727e7cbf74c94 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 2f2419f67d9d458837893fef5cc1b21870021026) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 936acbb405970a406c8b1f557ea727e7cbf74c94) @@ -20,8 +20,9 @@ #include "reg_system.h" #include "Accel.h" -#include "AlarmLamp.h" -#include "Buttons.h" +#include "AlarmLamp.h" +#include "Buttons.h" +#include "ConsumableSelfTest.h" #include "DGInterface.h" #include "FPGA.h" #include "ModePreTreat.h" @@ -546,7 +547,6 @@ return sendUIResponseMsg( MSG_ID_HD_SAMPLE_WATER_CMD_RESPONSE, accepted, reason ); } - /*********************************************************************//** * @brief * The handleSampleWaterCmd function handles a sample water result msg from the UI. @@ -570,6 +570,25 @@ /*********************************************************************//** * @brief + * The handleConsumableInstallConfirm function handles a consumable install + * confirm msg from the UI. + * @details Inputs: none + * @details Outputs: message handled + * @param message a pointer to the message to handle + * @return none. + *************************************************************************/ +void handleConsumableInstallConfirm( MESSAGE_T *message ) +{ + if ( 0 == message->hdr.payloadLen ) + { + signalUserConfirmConsumableInstall(); + } + + sendAckResponseMsg( (MSG_ID_T)message->hdr.msgID, COMM_BUFFER_OUT_CAN_HD_2_UI, FALSE ); +} + +/*********************************************************************//** + * @brief * The handleInstallationConfirm function handles user confirms disposable * installation msg from the UI. * @details Inputs: none