Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Not working FindDevice.java
-
The sample code FindDevice.java within bacnet4J 4.X is not woking.
Because there is not LocalDevice.findRemoteDevice() funcation at bacnet4J 4.X.
Although the FindDevice.java work with bacnet4j-3.X.jar, also somtimes it woks or it happens frequently time out error or not found network number error when running the code.
I want to know how to resolve this problem and where is bacnet4J 4.X version of FindDevice.java? -
This is the commit you are referring to https://github.com/infiniteautomation/BACnet4J/commit/a8743d2843f31c6c259fce92ef741bc78ca7aef9#diff-6ff8ba31ce7d782a109d942d81edef91
That method was removed by the original author, perhaps you can use the getRemoteDevice method?
-
There are a few variants on that method in the LocalDevice class that may solve your problem.
-
This post is deleted! -
Thank you for your answering.
I realized that instaceId == deviceId ,later.
I could do what I want as below.
RemoteDeviceFuture dd = localDevice.getRemoteDevice(instaceId );
RemoteDevice d = dd.get();
The bug what I got seems being resolved with getRemoteDevice() of Bacnet4J 4.X.
thank you.