Modbux v0.3.9 Modbux.Request View Source

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

Link to this section Summary

Link to this section Functions

Link to this function

length(arg)

View Source
length({:fc | :phr | :rc | :rhr | :ri | :rir, any(), any(), any()}) ::
  integer()
Link to this function

pack(arg)

View Source
pack(
  {:fc | :phr | :rc | :rhr | :ri | :rir, integer(), integer(),
   maybe_improper_list() | integer()}
) :: <<_::48, _::_*8>>
Link to this function

parse(arg)

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