BACnet.Protocol.APDU.UnconfirmedServiceRequest (bacstack v0.0.1)

View Source

Unconfirmed Service Request APDUs are used to convey the information contained in unconfirmed service request primitives.

Unconfirmed Service Requests are as their name implies unconfirmed, that means a response is not required. Some services will trigger a response from BACnet servers that match with the service request. For example, this may be a I Am being transmitted due to a Who Is received.

This module has functions for encoding Unconfirmed Service Request APDUs. Decoding is handled by BACnet.Protocol.APDU.

This module implements the BACnet.Stack.EncoderProtocol.

Summary

Types

BACnet Unconfirmed Service Request service structs.

t()

Represents the Application Data Unit (APDU) Unconfirmed Service Request.

Functions

Encodes the Unconfirmed Service Request APDU into binary data.

Converts the APDU into a service, if supported and possible.

Types

Functions

encode(apdu)

@spec encode(t()) :: {:ok, iodata()} | {:error, term()}

Encodes the Unconfirmed Service Request APDU into binary data.

to_service(apdu)

@spec to_service(t()) :: {:ok, service()} | {:error, term()} | :not_supported

Converts the APDU into a service, if supported and possible.