• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. mmmoczj
    3. Topics

    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 5
    • Posts 12
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by mmmoczj

    • M

      How do I get all objects from RemoteDevice

      BACnet4J general discussion
      • • • mmmoczj
      3
      0
      Votes
      3
      Posts
      1.1k
      Views

      M

      Thank you very much

    • M

      How do two devices that are not on the same LAN communicate

      BACnet4J general discussion
      • • • mmmoczj
      12
      0
      Votes
      12
      Posts
      3.2k
      Views

      phildunlapP

      Purely as a BACnet4J question, I would suspect you could add the remote device to the LocalDevice's remoteDeviceCache manually, though this means you are working around a failure to comply with the BACnet spec in doing so, so there may be other problems down the road to solve.

    • M

      How to solve the unrecognized service problem

      BACnet4J general discussion
      • • • mmmoczj
      2
      0
      Votes
      2
      Posts
      1.0k
      Views

      K

      Please set the protocol services supported property of device object accordingly. This property is string of bits, setting 1 in any position indicates that the service in the corresponding position is supported.

    • M

      The test tool could not find the device instantiated by Java

      BACnet4J general discussion
      • • • mmmoczj
      2
      0
      Votes
      2
      Posts
      1.1k
      Views

      phildunlapP

      Hi mmmoczj,

      Surely there is more to your test? This seems to me like the process would exit before any responses would have had a chance to respond.

      Assuming the issue isn't your program exiting after the all to initialize the LocalDevice (which send a WhoIS but does not pause the thread that called it to listen for some amount of time for responses, that's handled by another thread elsewhere), then I would guess you may want to try other possible addresses, such as a broadcast of 255.255.255.255 with a bind address of 0.0.0.0

      Also if you call initialize without having a device object added to the local device, it will do some scanning and try to assign itself a number. You can see what the initialize method does here, although what is shown on the main branch may or may not be what you are working with: https://github.com/infiniteautomation/BACnet4J/blob/master/src/main/java/com/serotonin/bacnet4j/LocalDevice.java#L312

    • M

      Who can give me a simple server-side code example

      BACnet4J general discussion
      • • • mmmoczj
      6
      0
      Votes
      6
      Posts
      1.8k
      Views

      M

      @terrypacker Thank you for your help, but I want to get RemoteDevice through IP. There is no such function in those files.I wanted to get the device that way, but this is the old version,

      RemoteDevice d = localDevice.findRemoteDevice( new Address(0, IpNetworkUtils.toOctetString("192.168.33.53:8099")), 10086);