Pummpcomm v2.1.4 Pummpcomm.Session.Pump View Source

This GenServer represents a logical pump session and wraps the commands and responses needed in order to communicate with a pump so that execution happens as effortlessly as possible (including listening for silence, waking the pump, and retries). The serial number of the pump is all that is needed to initialize the GenServer, and it will query and store the model number upon the first interaction with the insulin pump.

Underneath this GenServer, Pummpcomm.Session.Pump delegates the nitty gritty details to Pummpcomm.Session.PumpExecutor.

Link to this section Summary

Link to this section Functions

Link to this function make_pump_call(arg, state) View Source
Link to this function read_cgm_page(page_number) View Source
Link to this function read_history_page(page_number) View Source
Link to this function read_insulin_sensitivities() View Source
Link to this function read_remaining_insulin() View Source