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.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetChangeListErrorCbCompletion

IEC_BACNET_STATUS

Input

phTransaction

POINTER TO BYTE

The handle recived in the hook callback function which identifies the current request in the API’s internal transaction state machine.

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 first element in the received list which caused an error during processing the AddListElement or RemoveListElement service ist stored here. If no error occurred this shall be 0.