• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. Kevin Herron
    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
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Kevin Herron

    • K

      RemoteDevice Address Changes

      BACnet4J general discussion
      • • • Kevin Herron
      2
      0
      Votes
      2
      Posts
      953
      Views

      K

      Update: if I request confirmed notifications instead of unconfirmed the simulator does include the correct address.

      The question still remains, then: should bacnet4j be ignoring the address (or lack of) in unconfirmed COV notifications, or should the simulator be specifying the address in unconfirmed notifications too?

    • K

      Local Devices, Foreign Registration, Discovery Scenarios

      BACnet4J general discussion
      • • • Kevin Herron
      2
      0
      Votes
      2
      Posts
      1.0k
      Views

      terrypackerT

      How are you setting up the multiple local devices? Here is some sample code I've used before but not thoroughly vetted in terms of a device missing a message.

      List<InterfaceAddress> usable = BacnetIpUtils.listUsableBACnetInterfaces(); Assume.assumeTrue(usable.size() > 0); InterfaceAddress address = usable.get(0); String bindAddress = address.getAddress().toString().split("/")[1]; String broadcastAddress = address.getBroadcast().toString().split("/")[1]; //Configure the first network, ensure we set reuse address IpNetwork networkOne = new IpNetworkBuilder() .withLocalBindAddress(bindAddress) .withBroadcast(broadcastAddress, address.getNetworkPrefixLength()) .withLocalNetworkNumber(1).withPort(9000).withReuseAddress(true).build(); Transport transportOne = new DefaultTransport(networkOne); LocalDevice localDeviceOne = new LocalDevice(1, transportOne); IpNetwork networkTwo = new IpNetworkBuilder() .withLocalBindAddress(bindAddress) .withBroadcast(broadcastAddress, address.getNetworkPrefixLength()) .withLocalNetworkNumber(1).withPort(9000).withReuseAddress(true).build(); Transport transportTwo = new DefaultTransport(networkTwo); LocalDevice localDeviceTwo = new LocalDevice(2, transportTwo); localDeviceOne.initialize(); localDeviceTwo.initialize();
    • K

      Multiple devices on one transport

      BACnet4J general discussion
      • • • Kevin Herron
      5
      0
      Votes
      5
      Posts
      1.6k
      Views

      K

      @terrypacker said in Multiple devices on one transport:

      But we also all creating many local devices in case you want to use them in different data sources.

      I'm not sure what you meant here.

      If it helps, I really only need a LocalDevice at all because that seems to be what's required by the library for communicating with RemoteDevices. I will be not be populating the shared or multiple LocalDevices with additional objects.

      My original plan was to have one LocalDevice per network adapter that might be used. For most systems this would mean just one LocalDevice.

      Is there any reason to have multiple LocalDevices (which I assume requires its own device number each) if I'm not going to be actually exposing any objects?

      I'm essentially only interested in reading from or writing to other BACnet devices on the network.