Modbux v0.3.9 Modbux.Model View Source

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

Link to this section Summary

Link to this section Functions

Link to this function

reads(state, arg)

View Source
reads(map(), {any(), any(), any(), any()}) ::
  {nil | {:error, :eaddr} | {:ok, [any()]}, map()}
Link to this function

write(state, arg)

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