IEC_BACNET_STACK_IP_DATALINK (STRUCT)¶
TYPE IEC_BACNET_STACK_IP_DATALINK : STRUCT
This structure defines the BACnet IP datalink type.
This structure is used for configuration of the IP datalink layer.
- InOut:
Name
Type
Comment
pszDeviceName
POINTER TO IEC_BACNET_BYTE
Name (IP address) of the adapter to use.
udpPortNumber
The udp port.
bDisableIpRouting
The IP stack will be configured to disable IP routing for the opened socket. If set there will be no IP standard gateway and no IP routes to anything available.
bBindOnAnyAddress
The opened socket will be bound to the ANY address if this is set. In case that more than ONE IP datalink is configured this will not work.
bBbmdActive
The datalink is configured to act as an bbmd device.
bForeignDeviceActive
The datalink is configured to act as an foreign device.
registrationIntervall
The intervall for FD reregistration.
pszForeignAddress
POINTER TO IEC_BACNET_BYTE
Address of the foreign BBMD device to which we should register.
bUsesTwoHopDistribution
The distribution will be done using a Two-Hop distribution mask (255.255.255.255) if this is set to true. The entries in the BDT are not changed but the distribution mask will be ignored in case of distribution to BBMD’s in the BDT if this is set to true.
bAllowsForeignRegs
If set foreign devices may register with this BBMD service implementation.
bAllowBdtWrites
If set the BDT will be writable using BVLC messages.
nBbmdDnsCancheRefreshInterval
Time in seconds after the DNS cache is cleared and hostnames get resolved again.
pszBbmdNatRouterAddress
POINTER TO IEC_BACNET_BYTE
The external visible address for this BBMD if a NAT router is active.
bbmdList
ARRAY [0..(TARGET_SUPPORTS_IP_DATALINK_WITH_BBMD - 1)] OF IEC_BACNET_IP_BBMD_ENTRY
The array of BBMD entries. Entries which are unused shall have an IP entry with all elements set to 0 here.