BACnet.Protocol.FaultParameters (bacstack v0.0.1)
View SourceBACnet has various different types of fault parameters. Each of them is represented by a different module.
Consult the module BACnet.Protocol.FaultAlgorithms
for
details about each fault's algorithm.
Summary
Types
Possible BACnet fault parameters.
Functions
Validates whether the given fault parameter is in form valid.
Types
@type fault_parameter() :: BACnet.Protocol.FaultParameters.None.t() | BACnet.Protocol.FaultParameters.FaultCharacterString.t() | BACnet.Protocol.FaultParameters.FaultExtended.t() | BACnet.Protocol.FaultParameters.FaultLifeSafety.t() | BACnet.Protocol.FaultParameters.FaultState.t() | BACnet.Protocol.FaultParameters.FaultStatusFlags.t()
Possible BACnet fault parameters.
Functions
@spec encode(fault_parameter(), Keyword.t()) :: {:ok, BACnet.Protocol.ApplicationTags.encoding()} | {:error, term()}
@spec parse(binary()) :: {:ok, fault_parameter()} | {:error, term()}
@spec valid?(fault_parameter()) :: boolean()
Validates whether the given fault parameter is in form valid.
It only validates the struct is valid as per type specification.