BACnetSrvcResponseCbCompletion (FUN)

FUNCTION BACnetSrvcResponseCbCompletion : IEC_BACNET_STATUS

Sends a simple acknowledgment to any service that requires it.

Completes a hook by generating a Simple-ACK reply. This completion routine should be used by hooks for the Acknowledge-Alarm, Add-List-Element, Confirmed COV-Notification, Confirmed Event-notification, Device Communication Control, Reinitialize-Device, Remove-List-Element, Subscribe COV, Write-Property, Write-Property-Multiple services and other services that do not need to convey any specific response information to the request initiator. 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

BACnetSrvcResponseCbCompletion

IEC_BACNET_STATUS

A status indicating whether the operation worked.

Input

phTransaction

POINTER TO BYTE

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