View Source Modbux.Request (Modbux v0.3.12)

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

Summary

Functions

@spec length({:fc | :phr | :rc | :rhr | :ri | :rir, any(), any(), any()}) :: integer()
@spec pack(
  {:fc | :phr | :rc | :rhr | :ri | :rir, integer(), integer(),
   maybe_improper_list() | integer()}
) :: <<_::48, _::_*8>>
@spec parse(<<_::24, _::_*8>>) ::
  {:einval | :error | :fc | :phr | :rc | :rhr | :ri | :rir, byte(), char(),
   [any()] | char()}