Hi all,

New to bacnet4j. Looking around for documentation or example code? Is there any?

If not can some kind soul out there send or post example code with a comment or two describing the basic use of LocalDevice and RemoteDevice? My ultimate goal is to write a small test bacnet device and monitor that device using bacnet4j.

A basic questions, I hope, in the mean time. I don't get the following code I found on here:

LocalDevice localDevice = new LocalDevice(101, "192.168.1.1");
localDevice.setPort(47808);
localDevice.initialize();
localDevice.getRemoteDevices();

Get remote devices from where? All I have defined is a local IP and port correct? Also what is the 101?

Thanks

  • Dan