<?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[Failure to communicate with BACnet server simulator]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have recently approached BACnet technology and I have succesfully tested demo applications presents in BACnet stack C library with one windows laptop mounting a linux virtual machine. I was able to launch a BACnet server simulator on my virtual machine and communicate with it through a client running on my host machine.</p>
<p dir="auto">Last week I have tested BACnet4J and on my host machine with a Java application with BACnet4J I have managed to read and write property on my BACnet server simulator in C running on my virtual machine.</p>
<p dir="auto">Today, come back from the week end, the same BACnet4J code cannot find my BACnet server (running on virtual machine) no more. I have spent several hours today trying to understand the cause but without success. On my host machine with C BACnet stack clients, I can read properties on my server, but with BACnet4J, the server doesn't respond not even to WhoIs request.</p>
<p dir="auto">This is the code from Test2.java. After sending WhoIsRequest() the application doesn't receive any Iam message.</p>
<pre><code>
        LocalDevice localDevice = new LocalDevice(1968, new Transport(new IpNetwork()));

        localDevice.getEventHandler().addListener(new Listener());
        localDevice.initialize();

        try {
            localDevice.sendGlobalBroadcast(new WhoIsRequest());
            Thread.sleep(2000);

   
            getObjectList(localDevice, new Address(2001, new byte[] { 0x3a }), new OctetString("192.168.0.68", 0xBAC0),
                    76058);

        }
        finally {
            localDevice.terminate();
        }

    static class Listener extends DeviceEventAdapter {
        @Override
        public void iAmReceived(RemoteDevice d) {
            System.out.println("IAm received" + d);
        }
    }

</code></pre>
<p dir="auto">Someone could help me with this problem? What could be the reason why I get no answer not even to WhoIs request with my BACnet4J application?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.mango-os.com/topic/1745/failure-to-communicate-with-bacnet-server-simulator</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 03:57:22 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1745.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Oct 2014 21:25:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Failure to communicate with BACnet server simulator on Tue, 28 Oct 2014 11:54:04 GMT]]></title><description><![CDATA[<p dir="auto">This morning it works again. Still don't understand why... Is this a bug? There something I'm missing?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.mango-os.com/post/9443</link><guid isPermaLink="true">https://forum.mango-os.com/post/9443</guid><dc:creator><![CDATA[Vincent]]></dc:creator><pubDate>Tue, 28 Oct 2014 11:54:04 GMT</pubDate></item></channel></rss>