BACnetWriteFileResponseCbCompletion (FUN)

FUNCTION BACnetWriteFileResponseCbCompletion : IEC_BACNET_STATUS

Sends an AtomicWriteFile response.

Completes a Write-File hook by generating a Write-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

BACnetWriteFileResponseCbCompletion

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_WRITE_FILE_RESULT

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