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>pre-release</version>
</dependency>

Default Transport

udp

Supported Transports

  • udp

Config options:

ede-file-path

FILE

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

ede-directory-path

FILE

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-address

STRING

Local address to bind to. If not set, binds to all interfaces.

udp.local-port

INT

0

Local port to bind to. 0 uses ephemeral port.

udp.read-timeout

INT

0

Socket read timeout in milliseconds. 0 means no timeout.

udp.max-packet-size

INT

65507

Maximum UDP packet size in bytes.

udp.send-buffer-size

INT

0

Send buffer size in bytes. 0 uses system default.

udp.receive-buffer-size

INT

0

Receive buffer size in bytes. 0 uses system default.

udp.broadcast

BOOLEAN

false

Enable SO_BROADCAST for sending broadcast packets.

udp.reuse-address

BOOLEAN

false

Enable SO_REUSEADDR to allow multiple bindings to the same address/port.

udp.share-socket

BOOLEAN

false

Share the underlying UDP socket across multiple transport instances. When true, instances with the same localAddress:localPort will share a socket. This is useful for protocols where multiple logical connections share one UDP port.

udp.multicast-ttl

INT

1

Time-to-live for multicast packets (1-255).

Data array Size Description