Expand description
NotificationClass object per ASHRAE 135-2020 Clause 12.31.
§Recipient-list day/time convention
RECIPIENT_LIST entries are BACnetDestination (Clause 12.15.5). The
valid_days field is a BACnetDaysOfWeek bit string defined as
BIT STRING { monday(0), tuesday(1), ..., sunday(6) } (Clause 21): bit 0
is Monday and bit 6 is Sunday in the in-memory u8. Callers must build
today_bit with the same convention (1 << dow where dow = 0 on
Monday). On the wire both bit strings are packed MSB-first per Clause
20.2.10 — monday(0) at 0x80 of the valid_days octet (unused_bits: 1),
to-offnormal(0) at 0x80 of the transitions octet (unused_bits: 5) —
via bacnet_types::bitstring::pack_octet/unpack_octet, which reverse
the in-memory bit0-first byte.
from_time/to_time are BACnet Time values interpreted in the device’s
local time, derived from the wall clock plus the Device object’s
UTC_Offset property (signed minutes) at the sender. A window with
to_time < from_time (e.g. 22:00–02:00) crosses midnight and is active
outside the [from, to] interval; see [time_in_window].
Structs§
- Notification
Class - BACnet NotificationClass object.
Enums§
- Recipient
Lookup Outcome - The complete outcome of looking up and selecting Notification Class recipients.
Functions§
- filter_
recipient_ list - Filter an encoded
RECIPIENT_LISTproperty value by day, time, and transition. - get_
notification_ recipients - Get notification recipients for a given class number and transition.
- get_
notification_ recipients_ strict - Strict variant of
get_notification_recipientsfor fail-closed routing. - local_
day_ and_ time - Derive the local day-of-week bit and time-of-day for recipient filtering.
- lookup_
notification_ recipients - Look up and select recipients for a Notification Class transition.
- resolve_
transition_ priority_ ack - Resolve the per-transition
PriorityandAck_Requiredfor an event notification from the referenced NotificationClass.