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 with this function.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetSetPropertyCallbackAttachment

IEC_BACNET_STATUS

Input

instNumber

IEC_BACNET_INST_NUMBER

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.