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
pszDeviceNamePOINTER TO IEC_BACNET_BYTE
Name (IP address) of the adapter to use.
udpPortNumberThe udp port.
bDisableIpRoutingThe 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.
bBindOnAnyAddressThe 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.
bBbmdActiveThe datalink is configured to act as an bbmd device.
bForeignDeviceActiveThe datalink is configured to act as an foreign device.
registrationIntervallThe intervall for FD reregistration.
pszForeignAddressPOINTER TO IEC_BACNET_BYTE
Address of the foreign BBMD device to which we should register.
bUsesTwoHopDistributionThe 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.
bAllowsForeignRegsIf set foreign devices may register with this BBMD service implementation.
bAllowBdtWritesIf set the BDT will be writable using BVLC messages.
nBbmdDnsCancheRefreshIntervalTime in seconds after the DNS cache is cleared and hostnames get resolved again.
pszBbmdNatRouterAddressPOINTER TO IEC_BACNET_BYTE
The external visible address for this BBMD if a NAT router is active.
bbmdListARRAY [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.