Index: firmware/App/Services/Messaging.h =================================================================== diff -u -r395522dffef1348e176564925656012f529c1910 -r6f876554db45a19590eaf2122ef47e33f7a7d69b --- firmware/App/Services/Messaging.h (.../Messaging.h) (revision 395522dffef1348e176564925656012f529c1910) +++ firmware/App/Services/Messaging.h (.../Messaging.h) (revision 6f876554db45a19590eaf2122ef47e33f7a7d69b) @@ -110,8 +110,16 @@ U32 maxDialRate; ///< Maximum dialysate flow rate (in mL/min) } TREATMENT_PARAM_BROADCAST_PAYLOAD_T; +/// Payload record structure for Fluid Bolus response. typedef struct { + U32 accepted; ///< Accepted/Rejected + U32 rejectionReason; ///< Rejection reason if not accepted. + U32 targetVolumeMl; ///< Target fluid bolus volume in mL. +} FLUID_BOLUS_RESPONSE_PAYLOAD_T; + +typedef struct +{ U32 minBloodFlowMLPM; ///< Min blood flow in mL/min. U32 maxBloodFlowMLPM; ///< Max blood flow in mL/min. U32 minDialysateFlowMLPM; ///< Min dialysate flow in mL/min. @@ -159,6 +167,8 @@ BOOL handleUICheckIn( MESSAGE_T *message ); BOOL handleTesterLogInRequest( MESSAGE_T *message ); +BOOL handleFluidBolusRequest( MESSAGE_T *message ); + BOOL testTDSoftwareResetRequest( MESSAGE_T *message ); // Test send message helper functions