Index: firmware/App/Services/SystemCommMessages.c =================================================================== diff -u -r52a40b3e01e67899cdeabdf64f4efddbe4654007 -rc5f3dfc2a87c35036f21f969f6e762ae779839f2 --- firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision 52a40b3e01e67899cdeabdf64f4efddbe4654007) +++ firmware/App/Services/SystemCommMessages.c (.../SystemCommMessages.c) (revision c5f3dfc2a87c35036f21f969f6e762ae779839f2) @@ -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 @@ -1203,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