Get desktop application:
View/edit binary Protocol Buffers messages
Periodically sent from the controller to the GUI.
milliseconds since controller started up.
Current params being used by the the controller. This is used to ACK params sent by the GUI.
Current sensor readings.
Patient pressure we're trying to achieve.
Value in range [0, 1] indicating how fast we're spinning the fan.
Periodically sent from the GUI to the controller.
milliseconds since GUI started up.
Params set by GUI; this is a request to the controller to use these params.
Sensor readings. To be consistent with the other names in this file, this message should be called SensorReadings. But we have a C++ class called that, and without naming this one "Proto", it's going to be really hard to remember which is which.
Used in:
Identifies the current breath among all breaths handled since controller startup. Increases when a new breath begins; can be used on the receiver side for detecting breath boundaries from subsampled or lossy data. Receiver MUST NOT assume that this identifier is increasing, or dense. It might decrease e.g. in case of controller restart, and might be sparse.
Offset that the controller added to measured flow when computing flow_ml_per_min, in an attempt to make the volume graph look "right". If this is a large negative number, it may indicate a leak in the system.
See https://docs.google.com/presentation/d/1DA1BQlCj8wNv60pGGzrldPfZBmr6WAH4WbrD4W7i43U for explanation of vent modes.
Used in:
Every breath is triggered by the machine, at a fixed rate. Operational parameters: PEEP - peep_cm_h2o RR - breaths_per_min PIP - pip_cm_h2o I:E - inspiratory_expiratory_ratio
Patients can trigger a breath for themselves so long as they exceed the/ minimum respiration rate. Ventilator triggers exhalation at a fixed point after inhalation. Operational parameters: PEEP - peep_cm_h2o min RR - breaths_per_min (note, interpreted as a minimum here) PIP - pip_cm_h2o I:E - inspiratory_expiratory_ratio P-trigger - inspiratory_trigger_cm_h2o
TODO: Implement me!
Values set by the ventilator operator.
Used in:
,PEEP - positive end-expiratory pressure
RR - respiratory rate
PIP - peak inspiratory pressure
I:E
P-trigger
TODO(jlebar): Is ml/min the correct unit for this?
V-trigger
A value between 0..1. Technically only values in [0.21, 1] are allowed.