BACnet.Protocol.ActionList (bacstack v0.0.1)
View SourceSummary
Functions
Encode a BACnet action list into application tag-encoded.
Parse a BACnet action list from application tags encoding.
Validates whether the given action list is in form valid.
Types
@type t() :: %BACnet.Protocol.ActionList{actions: [BACnet.Protocol.ActionCommand.t()]}
Functions
@spec encode(t(), Keyword.t()) :: {:ok, BACnet.Protocol.ApplicationTags.encoding_list()} | {:error, term()}
Encode a BACnet action list into application tag-encoded.
@spec parse(BACnet.Protocol.ApplicationTags.encoding_list()) :: {:ok, {t(), rest :: BACnet.Protocol.ApplicationTags.encoding_list()}} | {:error, term()}
Parse a BACnet action list from application tags encoding.
Validates whether the given action list is in form valid.
It only validates the struct is valid as per type specification.