Pummpcomm v2.5.1 Pummpcomm.Session.Command View Source

A command issued during a Pummpcomm.Session

Link to this section Summary

Types

Serial number of the pump

t()
  • opcode - opcode for the command in the wireless protocol
  • params - binary parameters specific to opcode
  • pump_serial - which pump to issue the command to
  • retries - the number of times to retry the command
  • timeout - how long to wait between retries
  • bytes_per_record - the number of bytes per record
  • max_records - the maximum number of records

Link to this section Types

Link to this type pump_serial() View Source
pump_serial() :: String.t

Serial number of the pump

Link to this type t() View Source
t() :: %Pummpcomm.Session.Command{bytes_per_record: pos_integer, effect_time: term, max_records: pos_integer, opcode: non_neg_integer, params: binary, pump_serial: pump_serial, retries: non_neg_integer, timeout: pos_integer}
  • opcode - opcode for the command in the wireless protocol
  • params - binary parameters specific to opcode
  • pump_serial - which pump to issue the command to
  • retries - the number of times to retry the command
  • timeout - how long to wait between retries
  • bytes_per_record - the number of bytes per record
  • max_records - the maximum number of records

Link to this section Functions