BACnetStorePropertyInstanceByHandle (FUN)ΒΆ

FUNCTION BACnetStorePropertyInstanceByHandle : IEC_BACNET_STATUS

Same function as ::BACnetStorePropertyInstance but uses handle to object instead of an device instance number and object idenfier.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetStorePropertyInstanceByHandle

IEC_BACNET_STATUS

Input

handleToObject

IEC_BACNET_HANDLE

A valid handle to the object retrieved by a call to ::BACnetGetObjectHandle.

ePropertyID

IEC_BACNET_PROPERTY_ID

The Property identifier of the local property.

nIndex

IEC_BACNET_ARRAY_INDEX

The optional index information of an array item from a property if this property contains an array. BACnet array indexes start counting at 1.

pVal

POINTER TO IEC_BACNET_PROPERTY_CONTENTS

Pointer to a property pontents containing a buffer which contains the value.