BACnetSrvcRejectCbCompletion (FUN)

FUNCTION BACnetSrvcRejectCbCompletion : IEC_BACNET_STATUS

Sends a server or client reject

Completes a hook by generating a BACnet-Reject 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 send a response over the BACnet. The hook completion routine frees all resources it uses.

InOut:

Scope

Name

Type

Comment

Return

BACnetSrvcRejectCbCompletion

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.

rejectReason

IEC_BACNET_REJECT_REASON

The reason for the BACnet-Reject reply.