Packages

Pummpcomm is a library to handle communication with a Medtronic insulin pump via a serial link to a cc1110 chip running subg_rfspy.

Current section

Files

Jump to
pummpcomm lib pummpcomm session exchange write_cgm_timestamp.ex
Raw

lib/pummpcomm/session/exchange/write_cgm_timestamp.ex

defmodule Pummpcomm.Session.Exchange.WriteCgmTimestamp do
alias Pummpcomm.Session.Command
@opcode 0x28
def make(pump_serial) do
%Command{opcode: @opcode, pump_serial: pump_serial}
end
end