BACnetChangeListErrorCbCompletion (FUN)ΒΆ

FUNCTION BACnetChangeListErrorCbCompletion : IEC_BACNET_STATUS

Sends a ChangeList error.

Completes an Add-List-Element or Remove-List-Element hook by generating a BACnet-Error reply. The BACnetSrvcErrorCbCompletion() completion routine should not be used for these services, since they must include the sequence number of the offending list-element in the reply. All confirmed service hooks need to 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

BACnetChangeListErrorCbCompletion

IEC_BACNET_STATUS

Input

phTransaction

POINTER TO BYTE

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

errClass

IEC_BACNET_ERROR_CLASS

Variable to hold BACnet Error Class information.

errCode

IEC_BACNET_ERROR_CODE

Variable to hold BACnet Error Code information

firstFailed

IEC_BACNET_ELEMENT_COUNT

The sequence number of the first element in the pElements list which caused an error in the Change (Add or Remove) List service.