Pummpcomm v2.5.1 Pummpcomm.History.ResultDailyTotal View Source

The number of strokes and units given in a day

Link to this section Summary

Types

The number of logic strokes of the stepper motor. NOT the actual number of steps of the physical motor

Functions

The number of strokes and units given in a day

Link to this section Types

Link to this type strokes() View Source
strokes() :: non_neg_integer

The number of logic strokes of the stepper motor. NOT the actual number of steps of the physical motor.

There are 40 strokes per one Insulin.units regardless of the Pummpcomm.PumpModel.pump_options strokes_per_unit.

Link to this section Functions

Link to this function decode(body, pump_options) View Source
decode(binary, Pummpcomm.PumpModel.pump_options) :: %{strokes: strokes, timestamp: NaiveDateTime.t, units: Pummpcomm.Insulin.units}

The number of strokes and units given in a day