BACnet/IP

banner

BACnet (Building Automation and Control Networks)

Connection String Options

Name

Type

Default Value

Required

Description

Name

BACnet/IP

Code

bacnet-ip

Maven Dependency

<dependency>
  <groupId>org.apache.plc4x</groupId>
  <artifactId>plc4j-driver-bacnet</artifactId>
  <version>0.13.0-SNAPSHOT</version>
</dependency>

Default Transport

udp

Supported Transports

  • udp

  • tcp

  • pcap

Config options:

ede-file-path

STRING

Path to the location of a single EDE file, that contains the descriptor for the target device.

ede-directory-path

STRING

Path to the directory used for storing multiple EDE files. These files contain the descriptors for the possible target devices.

Transport config options:

udp

udp.local-port

INT

-1

Some connections require a UDP listener to listen on a fixed port.
Use this configuration option in order to define the port number of the local port.

tcp

tcp.keep-alive

BOOLEAN

false

Should keep-alive packets be sent?

tcp.no-delay

BOOLEAN

true

Should packets be sent instantly or should we give the OS some time to aggregate data.

tcp.default-timeout

INT

1000

Timeout after which a connection will be treated as disconnected.

pcap

pcap.support-vlans

BOOLEAN

false

Enables support for VLans

pcap.replay-speed-factor

FLOAT

1.0

Numeric value for changing the replay speed:
- 1 = Normal speed (default)
- 0 = Maximum speed
- 0.5 = Half speed
- 2 = Double speed

pcap.loop

BOOLEAN

false

Should the replay start at the beginning of the file as soon as the end is reached?
- true = Automatically start again
- false = Stop at the end (default)

pcap.filter

STRING

Filter expression used to filter out unwanted packets from the replay.

pcap.support-vlans

BOOLEAN

false

Should VLan packets be automatically unpacked?

pcap.protocol-id

INT

-1

When provided, filters all packets to let only packets matching this ethernet protocol-id pass.

Data array Size Description