BACnetStack_RegisterCallbackLifeSafetyOperation
void BACnetStack_RegisterCallbackLifeSafetyOperation( bool (*FPCallbackLifeSafetyOperation)(const uint32_t deviceInstance, const uint32_t requestingProcessIdentifier, const char *requestingSource, const uint32_t requestingSourceLength, const uint8_t requestOperation, const bool useObjectIdentifier, const uint16_t objectType, const uint32_t objectInstance, uint32_t *errorCode));Registers a callback to trigger the device to perform a life-safety operation (e.g. silence, reset) on itself or a Life Safety Point/Zone object, in response to a LifeSafetyOperation BACnet message.
requestOperation is the requested operation, a BACnetLifeSafetyOperation value (cl. 21).
See also: CASBACnetStack::FPCallbackLifeSafetyOperation
BACnet reference: ANSI/ASHRAE 135-2024 clause 13.13 (LifeSafetyOperation Service).
Parameters
Section titled “Parameters”| Parameter | Direction | Description |
|---|---|---|
FPCallbackLifeSafetyOperation |
in | The function pointer for the CallbackLifeSafetyOperation function. See CASBACnetStack::FPCallbackLifeSafetyOperation for more info. |
Callback type
Section titled “Callback type”Topic: Service callbacks. Declared in CASBACnetStackDLL.h.