Index: firmware/App/Modes/ModeStandby.h =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -r069dee3a2428d3c6bb281db1844a372ae6e2063a --- firmware/App/Modes/ModeStandby.h (.../ModeStandby.h) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Modes/ModeStandby.h (.../ModeStandby.h) (revision 069dee3a2428d3c6bb281db1844a372ae6e2063a) @@ -7,8 +7,8 @@ * * @file ModeStandby.h * -* @author (last) Sean Nash -* @date (last) 18-Apr-2025 +* @author (last) Praneeth Bunne +* @date (last) 02-Jul-2026 * * @author (original) Sean Nash * @date (original) 01-Aug-2024 @@ -32,6 +32,13 @@ // ********** public definitions ********** +/// Payload record structure for a treatment initiation request +typedef struct +{ + U32 command; ///< Command code (Cancel=0, Initiate=1) + U32 modality; ///< Treatment modality selected by user (ignored on cancel) +} INITIATE_TREATMENT_REQUEST_PAYLOAD_T; + // ********** public function prototypes ********** void initStandbyMode( void ); // Initialize this unit @@ -41,6 +48,10 @@ BOOL signalUserInitiateTreatment( MESSAGE_T *message ); // User has initiated/cancelled treatment workflow void signalAlarmActionToStandbyMode( ALARM_ACTION_T action ); // Execute alarm action as appropriate for Standby mode +void setFluidType( TREATMENT_TYPE_T modality ); // Set a specific fluid type +FLUID_TYPE_T getFluidType( void ); // Get a specific fluid type +TREATMENT_TYPE_T getModality( void ); // Get a specific modality + /**@}*/ #endif