This chapter includes an example for the
BACnet driver configuration in the config file. For details about
the possible configs in the config file see Possible
Config Entries of the BACnet Driver.
For a start of the BACnet driver the config
entry "net"
is mandatory:
Example
for the BACnet driver config file
This entry configures the type of connection to
the BACnet devices:
#Example:
[bacnet]
net = 1 "IP" "" "" 47808 ""
0 120 0
Syntax:
net = <Network>
<IPAddress> <Subnetmask> <UDPPort> <BBMDAddress>
<BBMDMaxForeignDevices> <ForeignDeviceHoldingTime>
<Eth>
The parameters have the following meaning:
Network
The unique assigned network number. Currently the
BACnet driver is able to communicate with only one network.
IP
Protocol type. The current version supports IP
(BACnet/IP).
IPAddress
IP address of the network card, over which the
BACnet/IP net is accessible. If the entry is empty, the IP address
is specified by the own host name. The latter works only then
when there is only one network card attached/used in the computer.
Subnetmask
The subnetmask defines the broadcast addresses,
with which the broadcasts are sent into the BACnet net. If the
subnetmask entry is empty ("")
so the subnetmask of the configures network connection is used.
UDPPort
UDP port is used for the BACnet/IP communication.
In the most cases the port has to be set to 47808 (0xBAC0).
BBMDAddress
IP address of "BACnet/IP Broadcast Management
Device". If the BACnet driver should use a BBMD as client,
the entry must be set to the IP address of the BBMD.
BBMDMaxForeignDevices
If the BACnet driver should work as BBMD, the value
must be set higher than 0. The value defines the maximum number
of foreign devices (default = 0).
ForeignDeviceHoldingTime
Holding time for foreign devices (default = 120
seconds).
Eth
"Ethernet Device" number under Linux
(e.g. 0 for eth0). The value of this field is only relevant under
Linux. |