BACnetSetRoutingFilterCallback (FUN)ΒΆ

FUNCTION BACnetSetRoutingFilterCallback : IEC_BACNET_STATUS

This function registers an callback for routing filtering.

This registers a callback routine. This callback can be registered at any time. If the callback is registered more than once, the new callback procedure replaces old one. A NULL procedure pointer cancels the callback.n This callback may be used by an application which needs to decide if an received packet should be routed to its destination by returning TRUE as return value in the calllback or not by returning FALSE.

Return: IEC_BACNET_STATUS

InOut:

Scope

Name

Type

Comment

Return

BACnetSetRoutingFilterCallback

IEC_BACNET_STATUS

Input

pICallback

CmpEventMgr.ICmpEventCallback

Pointer to the event-callback interface. Event-callback argument type is EVT_BACNET_ROUTING_FILTER. Purpose documented in BACstack: A pointer to the callback to make decisions of routing for received packets.