BACnet.Protocol.FaultParameters (bacstack v0.0.1)

View Source

BACnet 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

Functions

encode(fault_params, opts \\ [])

@spec encode(fault_parameter(), Keyword.t()) ::
  {:ok, BACnet.Protocol.ApplicationTags.encoding()} | {:error, term()}

parse(fault_values_tag)

@spec parse(binary()) :: {:ok, fault_parameter()} | {:error, term()}

valid?(t)

@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.