• Recent
    • Tags
    • Popular
    • Register
    • Login

    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

    Help understanding networks

    BACnet4J general discussion
    2
    5
    2.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wz2b
      last edited by

      Hi,

      We have an ALC system that has a bunch of BACnet devices on ALC lan gatways (LGR). The gateways have ethernet, ARCnet, and MSTP. According to WebControl:

      BACnet/ARCNET Network Number: 2478
      BACnet/IP Network Number: 2400
      BACnet/MSTP Network Number 2475

      What I tried to do, to begin, was this:

      LocalDevice localDevice = new LocalDevice( 2400, LGR_IP_STRING ); /* for example "10.1.2.3" */
      localDevice.initialize();
      localDevice.setPort( 47808 );
      localDevice.sendBroadcast(47808, new WhoIsRequest(null, null));
      Thread.sleep( 5000 );
      
      System.out.println("Dumping remote devices");
      for(RemoteDevice rd : localDevice.getRemoteDevices())
      	System.out.println(rd.toString());
      

      but that shows me no devices.

      What I want to figure out is how do I connect to this gateway and ask it to tell me what devices it knows about on the MSTP and ARCNET networks ... then, eventually, dump the available properties on them.

      This router is behind a complicated IP network, so broadcasts to it may simply not work ... if that's the case how do I skip the broadcast, do I add a RemoteDevice manually?

      Thanks,

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        If WhoIs is not working and you know the details of the devices you want to communicate with, you can "manually discover" them using the LocalDevice.findRemoteDevice method.

        Best regards,
        Matthew

        1 Reply Last reply Reply Quote 0
        • W
          wz2b
          last edited by

          Is findRemoteDevice in an older/newer version perhaps? I have bacnet4j 1.2. I don't have such a method.

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler
            last edited by

            It's newer. Download the latest jar from SF (or the SF CVS) and try that.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • First post
              Last post