BACnet.Protocol.Services.Ack.ReadPropertyMultipleAck (bacstack v0.1.0-dev.1)

Copy Markdown View Source

The Read Property Multiple Acknowledgment is the response to a successful Read Property Multiple service request.

It contains a list of Read Access Result structures, one for each object that was queried. Each result in turn contains the object identifier and the individual property values (or errors) that were requested for that object.

This service is the primary mechanism used by clients to efficiently poll large numbers of properties from one or more devices. The acknowledgment can be quite large and is frequently segmented.

Summary

Types

t()

The response to a Read Property Multiple request, containing results for each object/property group.

Types

t()

@type t() :: %BACnet.Protocol.Services.Ack.ReadPropertyMultipleAck{
  results: [BACnet.Protocol.ReadAccessResult.t()]
}

The response to a Read Property Multiple request, containing results for each object/property group.

Functions

from_apdu(ack)

@spec from_apdu(BACnet.Protocol.APDU.ComplexACK.t()) :: {:ok, t()} | {:error, term()}

Converts a received BACnet.Protocol.APDU.ComplexACK APDU into a struct.

to_apdu(ack, invoke_id \\ 0)

@spec to_apdu(t(), 0..255) ::
  {:ok, BACnet.Protocol.APDU.ComplexACK.t()} | {:error, term()}

Constructs a BACnet.Protocol.APDU.ComplexACK APDU from a BACnet.Protocol.Services.Ack.ReadPropertyMultipleAck struct.

Used when a server responds to a Read Property Multiple request.