BACnetEventInfoResponseCbCompletion (FUN)

FUNCTION BACnetEventInfoResponseCbCompletion : IEC_BACNET_STATUS

Sends a GetEventInfo response.

Completes a Get Event Information hook by generating a Get-Event-Information-ACK reply. Contains the information about “event-active” objects. “Event-active” objects are objects that have an Event State property other than STATE_NORMAL or have an acked-transitions property which has at least one of the bits (TO_OFFNORMAL, TO_FAULT, TO_NORMAL) set to FALSE. This is a service completion routine. All confirmed service hooks need to call a response or error completion routine to perform resource cleanup and to send a response. The hook completion routine frees all resources it uses.

InOut:

Scope

Name

Type

Comment

Return

BACnetEventInfoResponseCbCompletion

IEC_BACNET_STATUS

Input

phTransaction

POINTER TO BYTE

Transaction State Machine (TSM) handle for the request to be processed by the hook.

pEventInfo

POINTER TO IEC_BACNET_EVENT_INFO

A pointer to a memory block into which to place the service response information

/ to transport.