BACnetEnrollmentSummResponseCbCompletion (FUN)

FUNCTION BACnetEnrollmentSummResponseCbCompletion : IEC_BACNET_STATUS

Sends a GetEnrollmentSummary response.

Completes an Enrollment-Summary hook by generating an Enrollment-Summary-ACK reply. Contains information about all event-initiating objects that meet the search criteria specified in the request routine. This information is represented as a list of Enrollment Summary data structures. The list may be NULL if no object was found. In this case the list length must be zero too. This is a service completion routine. All confirmed service hooks need to call a response or error completion routine to perform transaction clean-up and to send a response over the BACnet. The hook completion routine frees all resources it uses.

InOut:

Scope

Name

Type

Comment

Return

BACnetEnrollmentSummResponseCbCompletion

IEC_BACNET_STATUS

Input

phTransaction

POINTER TO BYTE

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

pSummaries

POINTER TO IEC_BACNET_ENROLLMENT_SUMMARY

A pointer to a memory block to hold a list of Enrollment Summary items. This argument may be NULL if the list contains no items. In this case the nSummaryCount argument also has to be 0.

nSummaryCount

IEC_BACNET_UNSIGNED

The number of items in the Enrollment Summary list. If there are no items in the list, this argument is 0 and pSummaries is NULL too.