Pummpcomm v2.5.1 Pummpcomm.Session.Exchange.ReadTime View Source
Reads pump’s current time
Link to this section Summary
Functions
Decodes Pummpcomm.Session.Response.t
to NaiveDateTime.t
for the pump’s current time
Make Pummpcomm.Session.Command.t
to get pump with pump_serial
’s current time
Link to this section Functions
Link to this function
decode(response)
View Source
decode(Pummpcomm.Session.Response.t) :: {:ok, NaiveDateTime.t} | {:error, :invalid_time}
Decodes Pummpcomm.Session.Response.t
to NaiveDateTime.t
for the pump’s current time
Make Pummpcomm.Session.Command.t
to get pump with pump_serial
’s current time