Hello,
I am trying to generate a local device and read it in YABE.
The java application is a simple example of a NetworkBuilder and a local device.
YABE is able to discover the device but when trying to read it i get the following error message:
ERROR_CODE_REJECT_UNRECOGNIZED_SERVICE
and the YABE log prints:
ERVICE_CONFIRMED_READ_PROPERTY Error
Here is my 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)
{
}
Any help would be greatly appreciated.