BACnetSetPropertyCallbackAttachmentByHandle (FUN)ΒΆ

FUNCTION BACnetSetPropertyCallbackAttachmentByHandle : IEC_BACNET_STATUS

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

An application can change the assigned callback attachments made on object construction for an local objects property with this function.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetSetPropertyCallbackAttachmentByHandle

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.

bWriteCallbackAttached

IEC_BACNET_BOOLEAN

If set to True the read property callback registered with ::BACnetSetCallback will be called everytime the value for this property is required by the BACnet server API or read from BACnet client side.

bReadCallbackAttached

IEC_BACNET_BOOLEAN

If set to True the write property callback registered with ::BACnetSetCallback will be called everytime the value for this property is changed by the BACnet server API or written from BACnet client side.