Index: firmware/App/Services/TxParams.h =================================================================== diff -u -r4644222ff44fd3fc588bd071e794aabad9780bae -r41a1b7a822a45813af610292a9af90e1a0f83763 --- firmware/App/Services/TxParams.h (.../TxParams.h) (revision 4644222ff44fd3fc588bd071e794aabad9780bae) +++ firmware/App/Services/TxParams.h (.../TxParams.h) (revision 41a1b7a822a45813af610292a9af90e1a0f83763) @@ -102,7 +102,7 @@ /// Payload record structure for treatment duration validate response. typedef struct { - BOOL accepted; ///< Accepted/Rejected + BOOL accepted; ///< Accepted/Rejected. U32 rejectionReason; ///< Rejection reason if not accepted. U32 duration; ///< Treatment duration in minutes. F32 ufVolumeGoal; ///< UF volume goal in L. @@ -112,14 +112,14 @@ /// Payload record structure for bolus volume change request. typedef struct { - U32 bolusVolume; ///< Requested bolus volume (in mL) + U32 bolusVolume; ///< Requested bolus volume (in mL). } BOLUS_VOLUME_CHANGE_REQUEST_PAYLOAD_T; /// Payload record structure for bolus volume change response. typedef struct { - BOOL accepted; ///< Accepted/Rejected - U32 rejectionReason; ///< Rejection reason if not accepted + BOOL accepted; ///< Accepted/Rejected. + U32 rejectionReason; ///< Rejection reason if not accepted } BOLUS_VOLUME_CHANGE_RESPONSE_PAYLOAD_T; /// Payload record structure for pressure limit change request. @@ -157,7 +157,7 @@ /// Payload record structure for UF change response. typedef struct { - BOOL accepted; ///< Accepted/Rejected + BOOL accepted; ///< Accepted/Rejected. U32 rejectionReason; ///< Rejection reason if not accepted. F32 ufVolumeGoal; ///< UF Volume in L. U32 duration; ///< new Treatment duration in minutes. @@ -173,7 +173,7 @@ /// Payload record structure for blood flow rate change response. typedef struct { - BOOL accepted; ///< Accepted/Rejected + BOOL accepted; ///< Accepted/Rejected. U32 rejectionReason; ///< Rejection reason if not accepted. } BLOOD_FLOW_RATE_CHANGE_RESPONSE_PAYLOAD_T; @@ -186,21 +186,21 @@ /// Payload record structure for dialysate flow rate change response. typedef struct { - BOOL accepted; ///< Accepted/Rejected - U32 rejectionReason; ///< Rejection reason if not accepted.. + BOOL accepted; ///< Accepted/Rejected. + U32 rejectionReason; ///< Rejection reason if not accepted. } DIALYSATE_FLOW_RATE_CHANGE_RESPONSE_PAYLOAD_T; /// Payload record structure for dialysate temperature change request. typedef struct { - F32 temperature; ///< Dialysate temperature in degrees Celsius. + F32 temperature; ///< Dialysate temperature in degrees Celsius. } DIALYSATE_TEMPERATURE_CHANGE_REQUEST_PAYLOAD_T; /// Payload record structure for dialysate temperature change response. typedef struct { - BOOL accepted; ///< Accepted/Rejected - U32 rejectionReason; ///< Rejection reason if not accepted.. + BOOL accepted; ///< Accepted/Rejected. + U32 rejectionReason; ///< Rejection reason if not accepted. } DIALYSATE_TEMPERATURE_CHANGE_RESPONSE_PAYLOAD_T; /// Payload record structure for treatment set points change request. @@ -246,7 +246,7 @@ BOOL signalUserConfirmationOfTreatmentDuration( MESSAGE_T *message ); // Process UI confirm/reject treatment duration BOOL signalUserConfirmationOfUFVolume( MESSAGE_T *message ); // Process UI confirm/reject ultrafiltration volume change -void resetTreatmentParameters( void ); // Reset all parameters to defaults +void initTreatmentParameters( void ); // Initialize treatment parameters and session state BOOL getValidTreatParamsReceived( void ); // Determine whether valid Treatment Parameters exist BOOL getTreatParamsConfirmed( void ); // Determine whether user confirmed the parameters