Modbux.Model (Modbux v0.3.10) View Source

Model helper, functions to write and read the Slave/Server DB.

Link to this section Summary

Link to this section Functions

Specs

reads(map(), {any(), any(), any(), any()}) ::
  {nil | {:error, :eaddr} | {:ok, [any()]}, map()}

Specs

write(map(), {any(), any(), any(), any()}) ::
  {nil | {:error, :eaddr} | {:ok, nil}, map()}