Pummpcomm v2.5.1 Pummpcomm.Session.Exchange.SetTempBasal View Source

Sets temporary basal on pump. This is the primary mechanism control for closed-loop users.

Link to this section Summary

Functions

Decodes that set temporary basal command was acknowledged

Makes Pummpcomm.Session.Command.t to set temporary basal to units_per_hour for duration_minutes on the pump with pump_serial

Link to this section Functions

Decodes that set temporary basal command was acknowledged.

Link to this function make(pump_serial, list) View Source
make(Pummpcomm.Session.Command.pump_serial, [units_per_hour: Pummpcomm.Insulin.units_per_hour, duration_minutes: non_neg_integer, type: :absolute]) :: Pummpcomm.Session.Command.t

Makes Pummpcomm.Session.Command.t to set temporary basal to units_per_hour for duration_minutes on the pump with pump_serial