BACnet.Protocol.EventParameters (bacstack v0.0.1)

View Source

BACnet has various different types of event parameters. Each of them is represented by a different module.

The event algorithm AccessEvent is not supported.

Consult the module BACnet.Protocol.EventAlgorithms for details about each event's algorithm.

Summary

Types

Possible BACnet event parameters.

Functions

Validates whether the given event parameter is in form valid.

Types

Functions

encode(event_params, opts \\ [])

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

parse(event_values_tag)

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

valid?(t)

@spec valid?(event_parameter()) :: boolean()

Validates whether the given event parameter is in form valid.

It only validates the struct is valid as per type specification.