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
Input
instNumber
Instance number of a Device object.
pObjectID
POINTER TO IEC_BACNET_OBJECT_ID
A pointer to the object Identifier.
ePropertyID
The Property identifier of the local property.
bWriteCallbackAttached
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
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.