IEC_BACNET_STACK_DATALINK (STRUCT)ΒΆ
TYPE IEC_BACNET_STACK_DATALINK : STRUCT
This defines an BACnet datalink which is part of an network.
It is used for supporting different datalinks in the server API.
- InOut:
Name
Type
Comment
typ
Type of the datalink used in this structure.
portId
The BACnet port ID used for BACnet router configuration.
netNumber
The BACnet network number used for BACnet router configuration.
receiveQueueSize
The size of the receiving queue in count of packets (if supported by the datalink).
bDisableWhatIsNetnumNetnumIs
This flag controls if the new network management services what-is-network-number and network-number-is will be DISABLED for this datalink.
nFilterMode
The mode how the BACnet routing filter works and which filters configured network numbers and/or MAC addresses in table below received as source address to be routed into this datalink. Availabke modes: 0 = filter is off, 1 = list is passlist, 2 = list is blocklist. In passlist mode every match in the list will be routed and in the blocklist mode every match will be dropped and not routed.
nRejectMode
The mode how to reject the filtered packets: 0 = silently, 1 = reject with error-other, 2 = reject with busy-router, 3 = reject with invalid-address.
nFilterEntries
The number of filter list entries in table below.
pFilterList
POINTER TO IEC_BACNET_ADDRESS
The entries in the filterlist. The network number is the main key to match. If the length entry for the MAC address is not BACNET_MAC_BROADCAST_LENGTH the MAC address is also compared.
link
Union which covers all possible datalink type specific data structures.