Thank you, will try this. Have moved forward with my project (simulation of offices/SCADA/ICS systems) but parked the BACnet connection, will work it into the backlog.
S
Posts made by skodan
-
RE: "Hello World" BACNet device
-
"Hello World" BACNet device
Hi, I'm trying to get a minimum BACNet device going but it doesn't seem to respond. The code is as small as I could make it:
LocalDevice dev = new LocalDevice(76, new DefaultTransport(new IpNetwork("192.168.2.255", 47808, "192.168.2.104", "255.255.255.0", 0, false))); BACnetObject obj = createAnalogValue(1); dev.addObject(obj); dev.initialize();
When I try to "ping" it with a tool like:
bacnet-stack-0.8.3/bin/bacwi
nothing happens.
I'm certain I'm doing something stupid but I can't find any example or even something similar to this in the test directory. Any help to get me started is appreciated.