Index: firmware/App/Services/SystemCommMessages.h =================================================================== diff -u -ra74a984a7059f75d86ad87d6d9499bd8f94cc976 -r57ee0134869672b53ab5b7146b8988ede8f828d6 --- firmware/App/Services/SystemCommMessages.h (.../SystemCommMessages.h) (revision a74a984a7059f75d86ad87d6d9499bd8f94cc976) +++ firmware/App/Services/SystemCommMessages.h (.../SystemCommMessages.h) (revision 57ee0134869672b53ab5b7146b8988ede8f828d6) @@ -38,6 +38,7 @@ MSG_ID_RTC_EPOCH, // 10 MSG_ID_DIALYSATE_OUT_FLOW_DATA, // 11 MSG_ID_LOAD_CELL_READINGS, // 12 + MSG_ID_TREATMENT_TIME, // 13 // service/test CAN messages @@ -72,6 +73,14 @@ MSG_ID_OCCLUSION_DIAL_OUT_PUMP_OVERRIDE, // 0x801B MSG_ID_PRES_OCCL_SEND_INTERVAL_OVERRIDE, // 0x801C MSG_ID_SET_RTC_DATE_TIME, // 0x801D + MSG_ID_DIAL_OUT_FLOW_SEND_INTERVAL_OVERRIDE, // 0x801E + MSG_ID_DIAL_OUT_UF_REF_VOLUME_OVERRIDE, // 0x801F + MSG_ID_DIAL_OUT_UF_MEAS_VOLUME_OVERRIDE, // 0x8020 + MSG_ID_DIAL_OUT_PUMP_MC_MEAS_SPEED_OVERRIDE, // 0x8021 + MSG_ID_DIAL_OUT_PUMP_MC_MEAS_CURR_OVERRIDE, // 0x8022 + MSG_ID_DIAL_OUT_PUMP_MEAS_SPEED_OVERRIDE, // 0x8023 + MSG_ID_DIAL_OUT_PUMP_MEAS_ROTOR_SPEED_OVERRIDE, // 0x8024 + MSG_ID_DIAL_OUT_LOAD_CELL_WEIGHT_OVERRIDE, // 0x8025 END_OF_MSG_IDS } MSG_ID_T; @@ -116,6 +125,9 @@ // MSG_ID_RTC_EPOCH BOOL broadcastRTCEpoch( U32 epoch ); +// MSG_ID_TREATMENT_TIME +BOOL broadcastTreatmentTime( U32 secsTotTreatment, U32 secsElapsed, U32 secsRemaining ); + // *********** public test support message functions ********** // DEBUG OUTPUT @@ -212,5 +224,29 @@ // MSG_ID_SET_RTC_TIMESTAMP void handleSetRTCTimestamp( MESSAGE_T *message ); +// MSG_ID_DIAL_OUT_FLOW_SEND_INTERVAL_OVERRIDE +void handleTestDialOutFlowBroadcastIntervalOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_UF_REF_VOLUME_OVERRIDE +void handleTestDialOutUFReferenceVolumeOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_UF_MEAS_VOLUME_OVERRIDE +void handleTestDialOutUFMeasuredVolumeOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_PUMP_MC_MEAS_SPEED_OVERRIDE +void handleTestDialOutPumpMCMeasuredSpeedOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_PUMP_MC_MEAS_CURR_OVERRIDE +void handleTestDialOutPumpMCMeasuredCurrentOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_PUMP_MEAS_SPEED_OVERRIDE +void handleTestDialOutPumpMeasuredSpeedOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_PUMP_MEAS_ROTOR_SPEED_OVERRIDE +void handleTestDialOutPumpMeasuredRotorSpeedOverrideRequest( MESSAGE_T *message ); + +// MSG_ID_DIAL_OUT_LOAD_CELL_WEIGHT_OVERRIDE +void handleTestDialOutLoadCellWeightOverrideRequest( MESSAGE_T *message ); + #endif