Skip to content
Version 6.1.0
Contact Us

BACnetStack_RegisterCallbackAcknowledgeAlarm

void BACnetStack_RegisterCallbackAcknowledgeAlarm(
bool (*FPCallbackAcknowledgeAlarm)(const uint32_t deviceInstance, const uint32_t acknowledgingProcessIdentifier, const uint16_t eventObjectType, const uint32_t eventObjectInstance, const uint16_t eventStateAcknowledged, const uint8_t eventTimeStampYearMinus1900, const uint8_t eventTimeStampMonth, const uint8_t eventTimeStampDay, const uint8_t eventTimeStampWeekday, const uint8_t eventTimeStampHour, const uint8_t eventTimeStampMinute, const uint8_t eventTimeStampSecond, const uint8_t eventTimeStampHundredthSecond, const char *acknowledgmentSource, const uint32_t acknowledgmentSourceLength, const uint8_t acknowledgmentSourceEncoding, const bool timeOfAcknowledgmentIsTime, const bool timeOfAcknowledgmentIsSequenceNumber, const bool timeOfAcknowledgmentIsDateTime, const uint8_t timeOfAcknowledgmentYearMinus1900, const uint8_t timeOfAcknowledgmentMonth, const uint8_t timeOfAcknowledgmentDay, const uint8_t timeOfAcknowledgmentWeekday, const uint8_t timeOfAcknowledgmentHour, const uint8_t timeOfAcknowledgmentMinute, const uint8_t timeOfAcknowledgmentSecond, const uint8_t timeOfAcknowledgmentHundredthSecond, const uint16_t timeOfAcknowledgmentSequenceNumber, uint32_t *errorCode));

Registers a callback to trigger the device to handle acknowledging alarms.

The callback will be called in response a AcknowledgeAlarm BACnet message.

See also: CASBACnetStack::FPCallbackAcknowledgeAlarm

BACnet reference: ANSI/ASHRAE 135-2024 clause 13.5 (AcknowledgeAlarm Service).

Parameter Direction Description
FPCallbackAcknowledgeAlarm in The function pointer for the CallbackAcknowledgeAlarm function. See CASBACnetStack::FPCallbackAcknowledgeAlarm for more info.

FPCallbackAcknowledgeAlarm

Topic: Service callbacks. Declared in CASBACnetStackDLL.h.