Index: firmware/App/Services/StateServices/TubeSetInstall.c =================================================================== diff -u -r8acb1d02ac39d202a47338091b249ff2f30f5ea7 -ra89b071a59a5575e9bcd1b04d133ec318e24a411 --- firmware/App/Services/StateServices/TubeSetInstall.c (.../TubeSetInstall.c) (revision 8acb1d02ac39d202a47338091b249ff2f30f5ea7) +++ firmware/App/Services/StateServices/TubeSetInstall.c (.../TubeSetInstall.c) (revision a89b071a59a5575e9bcd1b04d133ec318e24a411) @@ -8,7 +8,7 @@ * @file TubeSetInstall.c * * @author (last) Vijay Pamula -* @date (last) 14-Jul-2026 +* @date (last) 28-Jul-2026 * * @author (original) Praneeth Bunne * @date (original) 01-May-2026 @@ -338,6 +338,19 @@ /*********************************************************************//** * @brief + * The getTubeSetInstallState function returns the current Tube Set + * Install sub-state. + * @details \b Inputs: currentInstallState. + * @details \b Outputs: none. + * @return Current Tube Set Install sub-state. + *************************************************************************/ +TUBE_SET_INSTALL_STATE_T getTubeSetInstallState( void ) +{ + return currentInstallState; +} + +/*********************************************************************//** + * @brief * The handleAutoLoadRequest function handles a UI request to * confirm tubeset installation. * @details \b Message \b Sent: MSG_ID_TD_ADJUST_DISPOSABLES_CONFIRM_RESPONSE @@ -490,4 +503,18 @@ } } +/*********************************************************************//** + * @brief + * The isTubeSetInstallAwaitingConfirmation function reports whether the + * Tube Set Install service is awaiting tubing set confirmation. + * @details \b Inputs: currentInstallState. + * @details \b Outputs: none. + * @return TRUE when awaiting tubing set confirmation, otherwise FALSE. + *************************************************************************/ +BOOL isTubeSetInstallAwaitingConfirmation( void ) +{ + return ( TUBE_SET_INSTALL_STATE_AWAIT_TUBE_SET_CONFIRMATION == + currentInstallState ) ? TRUE : FALSE; +} + /**@}*/