BACnetReadFileResponseCbCompletion (FUN)

FUNCTION BACnetReadFileResponseCbCompletion : IEC_BACNET_STATUS

Sends an AtomicReadFile response.

Completes a Read-File hook by generating a Read-File-ACK reply. This is a hook completion routine. All confirmed service hooks must 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

BACnetReadFileResponseCbCompletion

IEC_BACNET_STATUS

A status indicating if the operation worked.

Input

phTransaction

POINTER TO BYTE

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

pResult

POINTER TO IEC_BACNET_READ_FILE_RESULT

A pointer to the memory block of data type BACNET_READ_FILE_RESULT to convey the response information.