Expand description
Access Control objects (ASHRAE 135-2020 Clause 12).
This module implements the seven BACnet access control object types:
- AccessDoor (type 30)
- AccessCredential (type 32)
- AccessPoint (type 33)
- AccessRights (type 34)
- AccessUser (type 35)
- AccessZone (type 36)
- CredentialDataInput (type 37)
evaluate_access_rights checks a credential against the Access Rights
it is assigned, for the application to act on (#1331).
Structs§
- Access
Credential Object - BACnet Access Credential object (type 32).
- Access
Door Object - BACnet Access Door object (type 30).
- Access
Event Report - One access event at an Access Point: the values of Access_Event, Access_Event_Tag, Access_Event_Time, Access_Event_Credential and Access_Event_Authentication_Factor, which change together for each event (Clause 12.31.27.1).
- Access
Point Object - BACnet Access Point object (type 33).
- Access
Rights Evaluation - What
evaluate_access_rightsfound for one credential at one Access Point. - Access
Rights Object - BACnet Access Rights object (type 34).
- Access
Rights Snapshot - What an Access Rights object keeps across a restart. Each member is
Noneuntil a write sets it: what the application configures applies at each start until then. - Access
Rule Position - Where an access rule sits: its Access Rights object, its array and its place in that array.
- Access
User Object - BACnet Access User object (type 35).
- Access
Zone Object - BACnet Access Zone object (type 36).
- Credential
Data Input Object - BACnet Credential Data Input object (type 37).
- Credential
Read Report - A factor a Credential Data Input’s reader has read: its Present_Value and Update_Time, which move together (Clause 12.36.11).
- Door
State Report - What an Access Door’s hardware and door logic report: any of
Door_Status, Lock_Status and Door_Alarm_State. A field left
Nonekeeps the value the door holds. - File
Access Rights Persistence - A file holding one Access Rights object’s written rule arrays, Enable and
Accompaniment, replaced whole on each save, the same way as
FileNotificationClassPersistence: a failed save leaves the previous state in place, and a completed one survives a power loss. - Unresolved
Access Rights - An enabled Assigned_Access_Rights element that gave no rules.
Enums§
- Access
Control Input - An input for one access-control object, as the application reports it.
- Access
Rights Decision - The outcome of the Access Rights check (Clause 12.34.9.2).
- Access
Rule Kind - Which rule array of an Access Rights object a rule comes from.
- Unresolved
Reason - Why an Assigned_Access_Rights element gave no rules.
Constants§
- DEFAULT_
DOOR_ EXTENDED_ PULSE_ TIME - Door_Extended_Pulse_Time a new door starts with, in tenths of a second (15 s).
- DEFAULT_
DOOR_ OPEN_ TOO_ LONG_ TIME - Door_Open_Too_Long_Time a new door starts with, in tenths of a second (30 s).
- DEFAULT_
DOOR_ PULSE_ TIME - Door_Pulse_Time a new door starts with, in tenths of a second (5 s).
- MAX_
ACCESS_ RULES - The most rules either rule array holds, a resource cap. A longer list, from a setter or a network write, is RESOURCES / NO_SPACE_TO_WRITE_PROPERTY.
- MAX_
AUTHENTICATION_ POLICIES - The most authentication policies an Access Point holds while it serves Authentication_Policy_List and Authentication_Policy_Names, a resource cap: a count or list past it is VALUE_OUT_OF_RANGE.
Traits§
- Access
Rights Persistence - Application-owned storage for one Access Rights object’s rule arrays, Enable and Accompaniment.
Functions§
- evaluate_
access_ rights - Check the Access Rights rules of
credential, presented atpoint, as Clause 12.34.9.2 describes.