BACnetCreateObjectErrorCbCompletion (FUN)

FUNCTION BACnetCreateObjectErrorCbCompletion : IEC_BACNET_STATUS

Sends a CreateObject error.

Completes a CreateObject service hook by generating a CreateObject-Error reply. This is a service completion routine.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetCreateObjectErrorCbCompletion

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 Coxde information.

firstFailed

IEC_BACNET_UNSIGNED

The first element in the received list which caused an error during processing the CreateObject service ist stored here. If no error occurred this shall be 0.