<?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[Can&#x27;t read local device]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am trying to generate a local device and read it in YABE.<br />
The java application is a simple example of a NetworkBuilder and a local device.<br />
YABE is able to discover the device but when trying to read it i get the following error message:<br />
ERROR_CODE_REJECT_UNRECOGNIZED_SERVICE</p>
<p dir="auto">and the YABE log prints:<br />
ERVICE_CONFIRMED_READ_PROPERTY Error</p>
<p dir="auto">Here is my code:</p>
<pre><code>network = new IpNetworkBuilder().withPort(0xBAC5).withBroadcast("255.255.255.255",255).withReuseAddress(true).build();
        transport = new DefaultTransport(network);
        transport.setTimeout(500000);
        transport.setSegTimeout(15000);

        LocalDevice local = new LocalDevice(1, transport);

        try
        {
            local.initialize();
        }catch (Exception e)
        {

        }
</code></pre>
<p dir="auto">Any help would be greatly appreciated.</p>
]]></description><link>https://forum.mango-os.com/topic/4203/can-t-read-local-device</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 14:51:34 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4203.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 May 2019 20:04:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t read local device on Tue, 14 May 2019 16:20:13 GMT]]></title><description><![CDATA[<p dir="auto">Ah, yes, you wouldn't be able to bind the same port on the same machine in both applications. Thanks for sharing the resolution!</p>
]]></description><link>https://forum.mango-os.com/post/22113</link><guid isPermaLink="true">https://forum.mango-os.com/post/22113</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 14 May 2019 16:20:13 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t read local device on Tue, 14 May 2019 11:53:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
The problem seemed to be the fact that I tried (for test purposes) to run both YABE and my application on the same machine. Running it on two different machines in the network does the trick.</p>
]]></description><link>https://forum.mango-os.com/post/22111</link><guid isPermaLink="true">https://forum.mango-os.com/post/22111</guid><dc:creator><![CDATA[STAstefan]]></dc:creator><pubDate>Tue, 14 May 2019 11:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t read local device on Mon, 13 May 2019 17:23:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi STAstefan,</p>
<p dir="auto">Do you know if YABE is only trying to read from the device object? Do you have a wireshark of what YABE is sending?</p>
]]></description><link>https://forum.mango-os.com/post/22089</link><guid isPermaLink="true">https://forum.mango-os.com/post/22089</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 13 May 2019 17:23:24 GMT</pubDate></item></channel></rss>