ExDlt645.Frame (ex_dlt645 v0.1.0)

Copy Markdown View Source

Represents a parsed or constructed DL/T 645-2007 frame.

Summary

Types

t()

@type t() :: %ExDlt645.Frame{
  address: String.t(),
  ctrl: byte(),
  data: binary(),
  data_parsed: term(),
  di: non_neg_integer() | nil,
  dir: :master_to_slave | :slave_to_master,
  error_code: byte() | nil,
  func: byte(),
  has_next: boolean(),
  is_error: boolean(),
  preamble_count: non_neg_integer(),
  raw_data: binary()
}