Alarms and events
Notification classes, recipients, and the intrinsic and fault algorithms.
Create a Notification Class with BACnetStack_AddNotificationClassObject(), add its recipients, then enable alarms and events on an object and choose its algorithm. Alarm evaluation runs from BACnetStack_UpdateValue() and BACnetStack_Tick(). See COV, alarms and events, and trend logs.
Functions
Section titled “Functions”| Function | Summary |
|---|---|
BACnetStack_AddNotificationClassObject() |
Adds a Notification Class Object. |
BACnetStack_AddRecipientToNotificationClass() |
Adds a BACnetDestination that represents a recipient to receive event notifications. |
BACnetStack_SetAlarmsAndEventsForObjectEnabled() |
Enables Alarms and Events for a specific object. |
BACnetStack_SetIntrinsicOutOfRangeAlgorithm() |
Enables the Intrinsic Out Of Range Algorithm for an object. |
BACnetStack_SetIntrinsicSignedOutOfRangeAlgorithm() |
Datatype-swap variant of BACnetStack_SetIntrinsicOutOfRangeAlgorithm() for a SignedInteger-valued Present_Value (e.g. an integerValue object). |
BACnetStack_SetIntrinsicUnsignedOutOfRangeAlgorithm() |
Enables the UNSIGNED_OUT_OF_RANGE algorithm for an unsigned Present_Value. |
BACnetStack_SetIntrinsicDoubleOutOfRangeAlgorithm() |
Datatype-swap variant of BACnetStack_SetIntrinsicOutOfRangeAlgorithm() for a Double-valued Present_Value. |
BACnetStack_SetIntrinsicFloatingLimitAlgorithm() |
Enables the Intrinsic Floating Limit Algorithm (135-2024 cl. 13.3.5) for an object. |
BACnetStack_SetIntrinsicUnsignedRangeAlgorithm() |
Enables the UNSIGNED_RANGE intrinsic event algorithm (135-2024 cl. 13.3.9, a separate event algorithm keyed to BACnetEventType::unsignedRange) for an object whose monitored Present_Value is an UnsignedInteger. |
BACnetStack_SetIntrinsicBufferReadyAlgorithm() |
Enables the Intrinsic Buffer Ready Algorithm (135-2024 13.3.7) for a log object (trendLog / trendLogMultiple / eventLog). |
BACnetStack_SetIntrinsicChangeOfStateAlgorithmBool() |
Enables the Intrinsic Change of State Algorithm with a BOOLEAN primitive for an object. |
BACnetStack_SetIntrinsicChangeOfStateAlgorithmEnum() |
Enables the Intrinsic Change of State Algorithm with an ENUMERATED primitive for an object. |
BACnetStack_SetIntrinsicChangeOfStateAlgorithmUnsigned() |
Enables the ChangeOfState intrinsic event algorithm for an object whose monitored Present_Value is an UnsignedInteger (e.g. multiStateInput / multiStateValue). |
BACnetStack_SetIntrinsicChangeOfLifeSafetyAlgorithm() |
Enables the ChangeOfLifeSafety intrinsic event algorithm for a lifeSafetyPoint / lifeSafetyZone. |
BACnetStack_SetIntrinsicChangeOfStatusFlagsAlgorithm() |
Enables the ChangeOfStatusFlags intrinsic event algorithm for a globalGroup. |
BACnetStack_SetIntrinsicChangeOfBitstringAlgorithm() |
Enables the ChangeOfBitstring intrinsic event algorithm for a bitstringValue object. |
BACnetStack_SetIntrinsicChangeOfBitstringAlgorithm64() |
Enables the CHANGE_OF_BITSTRING algorithm for a bit string of up to 64 bits. |
BACnetStack_SetIntrinsicChangeOfCharacterstringAlgorithm() |
Enables the ChangeOfCharacterstring intrinsic event algorithm for a characterstringValue object. |
BACnetStack_SetIntrinsicChangeOfDiscreteValueAlgorithm() |
Enables the ChangeOfDiscreteValue intrinsic event algorithm. |
BACnetStack_SetIntrinsicCommandFailureAlgorithm() |
Enables the CommandFailure intrinsic event algorithm for a commandable output object (binaryOutput / multiStateOutput). |
BACnetStack_SetIntrinsicChangeOfValueAlgorithm() |
Enables the ChangeOfValue intrinsic event algorithm. |
BACnetStack_SetIntrinsicChangeOfTimerAlgorithm() |
Enables the ChangeOfTimer intrinsic event algorithm for a timer object. |
BACnetStack_SetFaultOutOfRangeAlgorithmReal() |
Enables the FAULT_OUT_OF_RANGE fault algorithm (135-2024 cl. 13.4.7) with REAL limits. |
BACnetStack_SetFaultListedAlgorithm() |
Enables the Fault Listed Algorithm for an object. |
BACnetStack_SetFaultLifeSafetyAlgorithm() |
Enables the LifeSafety fault algorithm for a lifeSafetyPoint / lifeSafetyZone. |
BACnetStack_SetFaultStatusFlagsAlgorithm() |
Enables the StatusFlags fault algorithm for a globalGroup. |