I'm trying this:
IpNetwork ipNetwork = new IpNetworkBuilder()
.withLocalBindAddress(192.168.2.28)
.withBroadcast("192.168.2.255", 32)
.build();
localDevice = new LocalDevice(LOCAL_DEVICE_ID, new DefaultTransport(ipNetwork));
localDevice.initialize();
RemoteDeviceFinder.RemoteDeviceFuture remoteDeviceFuture = localDevice.getRemoteDevice(2401);
RemoteDevice remoteDevice = remoteDeviceFuture.get();
if (remoteDevice == null) {
log.warn("Remote device with ID {} not found", REMOTE_DEVICE_ID);
return;
}
With Wireshark I can see the messages returning, yet none are arriving in Bacnet4J.
I have tried to run this code with and without Wiresharck running.
Any sugestions into what is wrong?
Regards
Bard