BACnetWritePropertyInstanceByHandle (FUN)
FUNCTION BACnetWritePropertyInstanceByHandle : IEC_BACNET_STATUS
Same function as ::BACnetWritePropertyInstance but uses handle to object instead of an device instance number and object idenfier.
Return: IEC_BACNET_STATUS
- InOut:
Scope
Name
Type
Comment
Return
BACnetWritePropertyInstanceByHandleInput
handleToObjectA valid handle to the object retrieved by a call to ::BACnetGetObjectHandle.
ePropertyIDThe Property identifier of the local property.
nIndexThe optional index information of an array item from a property if this property contains an array. BACnet array indexes start counting at 1.
priorityThe priority level for the Write-Property request, in case the Property is a commandable Property. If not the priority level BACNET_VOID_PRI should be used.
pValuePOINTER TO IEC_BACNET_PROPERTY_CONTENTS
Pointer to a property pontents containing a buffer which contains the value.
pValueSrcPOINTER TO IEC_BACNET_AUDIT_VALUE_SOURCE
A pointer to a data structure which contains the value source information for generating an logged and/or reported audit notification for this initiated request. This is an optional parameter and may be set to NULL. In this case a default value is used to fill the audit log entry.
pErrorPOINTER TO IEC_BACNET_ERROR
A pointer to store the returned BACnet error code.