BACnet.Protocol.LimitEnable (bacstack v0.0.1)
View SourceBACnet Limit Enable conveys several flags that describe the enabled limit detection algorithms.
- The LOW_LIMIT_ENABLE flag indicates whether the low limit detection algorithm is enabled.
- The HIGH_LIMIT_ENABLE flag indicates whether the high limit detection algorithm is enabled.
Summary
Functions
Encodes a BACnet limit enable into application tags encoding.
Creates from an application tag bitstring a limit enable.
Parses a BACnet limit enable from application tags encoding.
Creates an application tag bitstring from a limit enable.
Validates whether the given limit enable is in form valid.
Types
Functions
@spec encode(t(), Keyword.t()) :: {:ok, BACnet.Protocol.ApplicationTags.encoding_list()} | {:error, term()}
Encodes a BACnet limit enable into application tags encoding.
Creates from an application tag bitstring a limit enable.
@spec parse(BACnet.Protocol.ApplicationTags.encoding_list()) :: {:ok, {t(), rest :: BACnet.Protocol.ApplicationTags.encoding_list()}} | {:error, term()}
Parses a BACnet limit enable from application tags encoding.
@spec to_bitstring(t()) :: BACnet.Protocol.ApplicationTags.primitive_encoding()
Creates an application tag bitstring from a limit enable.
Validates whether the given limit enable is in form valid.
It only validates the struct is valid as per type specification.