<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Bacnet4J v6 - Getting Started]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">I'm trying to to a quite simple setup, yet not able to figure out how to get started.<br />
I am tring to create a client that can do COV from a device in the same network.</p>
<p dir="auto">I have tried to look at <a href="https://github.com/RadixIoT/BACnet4J/blob/master/src/test/java/com/serotonin/bacnet4j/LocalDeviceTest.java" rel="nofollow ugc">https://github.com/RadixIoT/BACnet4J/blob/master/src/test/java/com/serotonin/bacnet4j/LocalDeviceTest.java</a>.<br />
Acutually I'm stuck in how to create a Local Device, and to do a whoIs request.<br />
Also what is the propper way to do COV subscription from versjon 6?</p>
<p dir="auto">Regards<br />
Bard Lind</p>
]]></description><link>https://forum.mango-os.com/topic/6149/bacnet4j-v6-getting-started</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 20:34:59 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/6149.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Aug 2025 06:26:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Bacnet4J v6 - Getting Started on Tue, 19 Aug 2025 20:23:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/b%C3%A5rd-lind" aria-label="Profile: Bård-Lind">@<bdi>Bård-Lind</bdi></a> you are binding to a specific IP, you won't receive broadcasts if you are running this on Linux.  You need to bind to the local address of 0.0.0.0 to get the messages from the initial WhoIs during initialization.  Hopefully this helps you out, it could be many things but this is a common one when getting started with BACnet over IP.</p>
]]></description><link>https://forum.mango-os.com/post/28592</link><guid isPermaLink="true">https://forum.mango-os.com/post/28592</guid><dc:creator><![CDATA[terrypacker]]></dc:creator><pubDate>Tue, 19 Aug 2025 20:23:30 GMT</pubDate></item><item><title><![CDATA[Reply to Bacnet4J v6 - Getting Started on Tue, 19 Aug 2025 10:01:29 GMT]]></title><description><![CDATA[<p dir="auto">I'm trying this:</p>
<pre><code>           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;
            }
</code></pre>
<p dir="auto">With Wireshark I can see the messages returning, yet none are arriving in Bacnet4J.<br />
I have tried to run this code with and without Wiresharck running.</p>
<p dir="auto">Any sugestions into what is wrong?</p>
<p dir="auto">Regards<br />
Bard</p>
]]></description><link>https://forum.mango-os.com/post/28591</link><guid isPermaLink="true">https://forum.mango-os.com/post/28591</guid><dc:creator><![CDATA[Bård Lind]]></dc:creator><pubDate>Tue, 19 Aug 2025 10:01:29 GMT</pubDate></item></channel></rss>