BACnetRegisterClientEventNotificationCallback (FUN)

FUNCTION BACnetRegisterClientEventNotificationCallback : IEC_BACNET_STATUS

Registers the user application callback for received event notifications.

This function gives a user application the ability to get notified on reception of registered event notifications which have been registered by using the ::BACnetRegisterClientEventNotification function.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetRegisterClientEventNotificationCallback

IEC_BACNET_STATUS

Input

hCustomer

IEC_BACNET_HANDLE

An handle to an created advanced BACnet client customer created by ::BACnetOpenClientCustomer.

pICallback

CmpEventMgr.ICmpEventCallback

Pointer to the event-callback interface. Event-callback argument type is EVT_BACNET_CLIENT_EVENT. Purpose documented in BACstack: A pointer to the user application function which gets called on reception of registered events. To unregister from notifications a NULL pointer shall be used here.