BACnetWritePropMultipleErrorCbCompletion
(FUN)
FUNCTION BACnetWritePropMultipleErrorCbCompletion : IEC_BACNET_STATUS
Sends a writePropertyMultiple error.
Completes a Write-Property-Multiple hook by generating a BACnet-Error reply. The BACnetSrvcErrorCbCompletion() completion routine should not be used for this service, since it requires the inclusion of the sequence number of the offending 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
BACnetWritePropMultipleErrorCbCompletion
Input
phTransaction
POINTER TO BYTE
Transaction State Machine (TSM) handle for the request to be processed by the hook.
errClass
Variable to hold BACnet Error Class information.
errCode
Variable to hold BACnet Error Coxde information.
pFirstFailed
POINTER TO IEC_BACNET_DEV_OBJ_PROP_REFERENCE
A pointer to the buffer (data type BACNET_DEV_OBJ_PROP_REFERENCE) which contains the information about the first Property which, for some reason, cannot be modified, or NULL if all required properties were successfully modified.