BACnetSrvcErrorCbCompletion (FUN)

FUNCTION BACnetSrvcErrorCbCompletion : IEC_BACNET_STATUS

Sends a server error

Completes a hook by generating a BACnet-Error 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

BACnetSrvcErrorCbCompletion

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.

errClass

IEC_BACNET_ERROR_CLASS

Error information, specifies the error class of the occurred failure.

errCode

IEC_BACNET_ERROR_CODE

Error information, specifies the error code of the occurred failure.