BACnetSetPropertyCallbackAttachment (FUN)

FUNCTION BACnetSetPropertyCallbackAttachment : IEC_BACNET_STATUS

Changes the Callback attachments for local properties.

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

InOut:

Scope

Name

Type

Comment

Return

BACnetSetPropertyCallbackAttachment

IEC_BACNET_STATUS

A status indicating if the operation worked.

Input

instNumber

IEC_BACNET_DWORD

Instance number of a Device Object.

pObjectID

POINTER TO IEC_BACNET_OBJECT_ID

A pointer to the Object Identifier.

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.