View Source Modbuzz.PDU.ReadDiscreteInputs (Modbuzz v0.1.1)

Modbuzz.PDU implementation of ReadDiscreteInputs.

Request type

  • t()

Response types

  • {:ok, [] | [boolean()]}

  • {:error, exception: 1..4}

Summary

Types

@type t() :: %Modbuzz.PDU.ReadDiscreteInputs{
  quantity_of_inputs: 1..2000,
  starting_address: 0..65535
}