Modbux.Request (Modbux v0.3.10) View Source

Request helper, functions that handles Client & Master request messages.

Link to this section Summary

Link to this section Functions

Specs

length({:fc | :phr | :rc | :rhr | :ri | :rir, any(), any(), any()}) :: integer()

Specs

pack(
  {:fc | :phr | :rc | :rhr | :ri | :rir, integer(), integer(),
   maybe_improper_list() | integer()}
) :: <<_::48, _::_*8>>

Specs

parse(<<_::24, _::_*8>>) ::
  {:einval | :error | :fc | :phr | :rc | :rhr | :ri | :rir, byte(), char(),
   [any()] | char()}