BACnet.Protocol.Services.UnconfirmedCovNotification (bacstack v0.0.1)
View SourceThis module represents the BACnet Unconfirmed COV Notification service (Change Of Value).
The Unconfirmed COV Notification service is used to notify a subscriber of a changed value or changed values.
Service Description (ASHRAE 135):
The UnconfirmedCOVNotification Service is used to notify subscribers about changes that may have occurred to the properties of a particular object, or to distribute object properties of wide interest (such as outside air conditions) to many devices simultaneously without a subscription. Subscriptions for COV notifications are made using the SubscribeCOV service. For unsubscribed notifications, the algorithm for determining when to issue this service is a local matter and may be based on a change of value, periodic updating, or some other criteria.
Summary
Functions
Converts the given Unconfirmed Service Request into an Unconfirmed COV Notification Service.
Get the service name atom.
Whether the service is of type confirmed or unconfirmed.
Get the Unconfirmed Service request for the given Unconfirmed COV Notification Service.
Types
@type t() :: %BACnet.Protocol.Services.UnconfirmedCovNotification{ initiating_device: BACnet.Protocol.ObjectIdentifier.t(), monitored_object: BACnet.Protocol.ObjectIdentifier.t(), process_identifier: BACnet.Protocol.ApplicationTags.unsigned32(), property_values: [BACnet.Protocol.PropertyValue.t()], time_remaining: non_neg_integer() }
Functions
@spec from_apdu(BACnet.Protocol.APDU.UnconfirmedServiceRequest.t()) :: {:ok, t()} | {:error, term()}
Converts the given Unconfirmed Service Request into an Unconfirmed COV Notification Service.
@spec get_name() :: atom()
Get the service name atom.
@spec is_confirmed() :: false
Whether the service is of type confirmed or unconfirmed.
@spec to_apdu(t(), Keyword.t()) :: {:ok, BACnet.Protocol.APDU.UnconfirmedServiceRequest.t()} | {:error, term()}
Get the Unconfirmed Service request for the given Unconfirmed COV Notification Service.
See the BACnet.Protocol.Services.Protocol
function documentation for more information.