<?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[Example code?]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">New to bacnet4j.  Looking around for documentation or example code?  Is there any?</p>
<p dir="auto">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.</p>
<p dir="auto">A basic questions, I hope, in the mean time.  I don't get the following code I found on here:</p>
<p dir="auto">LocalDevice localDevice = new LocalDevice(101, "192.168.1.1");<br />
localDevice.setPort(47808);<br />
localDevice.initialize();<br />
localDevice.getRemoteDevices();</p>
<p dir="auto">Get remote devices from where?  All I have defined is a local IP and port correct? Also what is the 101?</p>
<p dir="auto">Thanks</p>
<ul>
<li>Dan</li>
</ul>
]]></description><link>https://forum.mango-os.com/topic/914/example-code</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 02:27:37 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/914.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Nov 2011 20:52:47 GMT</pubDate><ttl>60</ttl></channel></rss>