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
BACnetWritePropertyInstanceByHandle
Input
handleToObject
A valid handle to the object retrieved by a call to ::BACnetGetObjectHandle.
ePropertyID
The Property identifier of the local property.
nIndex
The optional index information of an array item from a property if this property contains an array. BACnet array indexes start counting at 1.
priority
The 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.
pValue
POINTER TO IEC_BACNET_PROPERTY_CONTENTS
Pointer to a property pontents containing a buffer which contains the value.
pValueSrc
POINTER TO IEC_BACNET_AUDIT_VALUE_SOURCE
Pointer to a value source structure which describes the source of the new value.
pError
POINTER TO IEC_BACNET_ERROR
A pointer to store the returned BACnet error code.