Modbux v0.3.9 Modbux.Rtu View Source
RTU message helper, functions that handles RTU responses/requests messages.
Link to this section Summary
Link to this section Functions
Link to this function
pack_req(cmd)
View Sourcepack_req( {:fc | :phr | :rc | :rhr | :ri | :rir, integer(), integer(), maybe_improper_list() | integer()} ) :: <<_::16, _::_*8>>
Link to this function
pack_res(cmd, values)
View Sourcepack_res( <<_::16, _::_*8>> | {:fc | :phr | :rc | :rhr | :ri | :rir, integer(), any(), maybe_improper_list() | integer()}, any() ) :: <<_::16, _::_*8>>