• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mirvana

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 10
    • Best 0
    • Controversial 0
    • Groups 0

    mirvana

    @mirvana

    0
    Reputation
    379
    Profile views
    10
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    mirvana Unfollow Follow

    Latest posts made by mirvana

    • RE: BACnetTimeoutException: No response from instanceId

      Thank you, phildunlap.
      I've got exception stack trace like next.
      com.serotonin.bacnet4j.exception.BACnetTimeoutException: No response from instanceId XXXXX
      com.serotonin.bacnet4j.util.RemoteDeviceFinder$DeviceFutureImpl.get(RemoteDeviceFinder.java:176)
      com.serotonin.bacnet4j.LocalDevice$2.get(LocalDevice.java:705)

      Also I use timeout related code like the following.

      Transport transport = new DefaultTransport(network);
      transport.setTimeout(30000);
      transport.setSegTimeout(30000);

      RemoteDeviceFuture dd = localDevice.getRemoteDevice(XXXXX);
      RemoteDevice d = dd.get(90000);
      I think this is the bacnet device's problem now, but if I've not use the code correctly, I hope to know about it.

      posted in BACnet4J general discussion
      M
      mirvana
    • BACnetTimeoutException: No response from instanceId

      I am getting the exception from some bacnet remote devices.
      'com.serotonin.bacnet4j.exception.BACnetTimeoutException: No response from instanceId xxxxx' .
      Is this means the devices are offline or broken and not working?
      Or Is it the matter possible to solve by just increasing timeout setting? (Transport.setTimeout(timeout)?
      Transport.setSegTimeout(timeout)? RemoteDeviceFuture.get(timeout)?)
      Or Is it possible to solve by setting the local network number with IpNetworkBuilder.withLocalNetworkNumber() as said like this(https://forum.infiniteautomation.com/topic/3370/bacnettimeoutexception-no-response-from-instanceid-and-unable-to-find-router-to-network-unable-to-find-router-to-network/4).
      If it is, what number should I input into IpNetworkBuilder.withLocalNetworkNumber() as the local network number, or how can I find the number (from my local network address?) or may I input ramdom number as the local network number?
      Thanks in advance.

      posted in BACnet4J general discussion
      M
      mirvana
    • RE: encoding problem of output at DiscoveryTest

      Thank you.
      But the content of the link says it relates java option matter, it seems doubtful a little for me about it.
      I'll try it anyway.

      posted in BACnet4J general discussion
      M
      mirvana
    • RE: encoding problem of output at DiscoveryTest

      I'm afraid that the way using CharacterString would be not likely working because I already had used the way of String.getBytes() which is not working and CharacterString.encode() use the way even though I use the function through CharacterString.writeImpl().
      I think maybe I have to use the matter about socket, because Bacnet4J use socket network.
      Any helps are appreciated.

      posted in BACnet4J general discussion
      M
      mirvana
    • RE: encoding problem of output at DiscoveryTest

      Thank you for your answering.
      By the way, the return result of PropertyValues.getString() is String, not CharacterString.
      And, PropertyValues.getString() use Encodable, internally.
      But I got the hint that is changing the return string to CharacterString which has encoding setting, from your help.
      I' ll do it first and reply again.

      posted in BACnet4J general discussion
      M
      mirvana
    • encoding problem of output at DiscoveryTest

      I modified DiscoveryTest.java a little.
      That is, instead of System.out.println(pvs); of main() function, I substitued it with
      "for (ObjectIdentifier objectIdentifier : oids) {
      System.out.println(pvs.getString(objectIdentifier, PropertyIdentifier.description));
      }".

      Of course, I added "refs.add(oid, PropertyIdentifier.description);" at addPropertyReferences() function of the DiscoveryTest.java.
      But, the ouput encoding is not right at System.out, so breaked font strings are printed which is originally east asia character.
      So I want to know how to change encoding settings of PropertyValues or RequestUtils.readProperties().
      Any suggestions are appreciated.

      posted in BACnet4J general discussion
      M
      mirvana
    • RE: Not working FindDevice.java

      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.

      posted in BACnet4J general discussion
      M
      mirvana
    • 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?

      posted in BACnet4J general discussion
      M
      mirvana