EVT_BACNET_CLIENT_UNSUBSCRIBE_COMPLETE (STRUCT)ΒΆ

TYPE EVT_BACNET_CLIENT_UNSUBSCRIBE_COMPLETE : STRUCT

Declaration of the notification function that an Change Of Value subscription has been unsubscribed.

This is the declartion of the notification function that an Change Of Value subscription has been unsubscribed. It is called after some unregistration of an object property reference which has also been unsubscribed in the remote device. If the last customer registered to an object property reference has unregistered and the object will be removed from the advanced client database this callback is called for all customers which had registered.n This callback is also called on unsubscriptions to event notifications for intrinsic alarming. In this case the parameter bIsUnsubscribeFromEventNotif has a value of True.

InOut:

Name

Type

Comment

devId

IEC_BACNET_INST_NUMBER

The BACnet device instance number from which the object property reference has been unregistered.

pObjId

POINTER TO IEC_BACNET_OBJECT_ID

A pointer to the object identifier from which the object property reference has been unregistered or the notification class object identifier if parameter bIsUnsubscribeFromEventNotif has a value of True.

nRemainingCount

IEC_BACNET_UNSIGNED

The remaining count of object COV subscriptions or event notification recipient entries for the current device.

bIsUnsubscribeFromEventNotif

IEC_BACNET_BOOLEAN

Flag which indicates that this callback is an deletion on an event notification recipient entry and not an unsubscription for COV.

propId

IEC_BACNET_PROPERTY_ID

The property identifier from which the object property reference has been unregistered. This parameter shall only be evaluated by the user application if parameter bIsUnsubscribeFromEventNotif has a value of False.

index

IEC_BACNET_ARRAY_INDEX

The property index from which property has been unregistered. If no array is accessed or bIsUnsubscribeFromEventNotif has a value of True this has a value of ::BACNET_VOID_INDEX.

status

IEC_BACNET_STATUS

The current status of the connection and subscription to the BACnet device.

pUserArg

POINTER TO IEC_BACNET_BYTE

A pointer for user application purposes. This pointer is the same pointer which was given by call to ::BACnetRegisterClientUnsubscribeCompletionCallback on registration.