• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. R-GiGgS84

    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
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 20
    • Best 0
    • Controversial 1
    • Groups 0

    R-GiGgS84

    @R-GiGgS84

    -1
    Reputation
    792
    Profile views
    20
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    R-GiGgS84 Unfollow Follow

    Best posts made by R-GiGgS84

    • RE: Tutorial on how to start using BACnet4J

      Hi guys, i manage to set up the stuff but when I try to run the DiscoveryTest.java (with SlaveDeviceTest.java running) an error below show up in the console:

      Exception in thread "main" java.net.BindException: Address already in use: Cannot bind
      at java.net.PlainDatagramSocketImpl.bind0(Native Method)
      at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
      at java.net.DatagramSocket.bind(Unknown Source)
      at java.net.DatagramSocket.<init>(Unknown Source)
      at java.net.DatagramSocket.<init>(Unknown Source)
      at com.serotonin.bacnet4j.npdu.ip.IpMessageControl.initialize(IpMessageControl.java:156)
      at com.serotonin.bacnet4j.LocalDevice.initialize(LocalDevice.java:211)
      at com.serotonin.bacnet4j.test.DiscoveryTest.main(DiscoveryTest.java:48

      Anyone can advice on this?

      posted in BACnet4J general discussion
      R
      R-GiGgS84

    Latest posts made by R-GiGgS84

    • RE: How to integrate BACnet Change Of Value (COV) using BACnet4J

      Anyone can advise on this? I am still stuck in doing it. Best if someone can provide a sample on how to do it.

      Regards,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • RE: Fire Alarm trigger and send informaton to notify the client software

      Hi there,

      I am kinda confuse on this and would be glad if someone can en-light me on this.

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • RE: How communicate to a remote device ?

      @Valter Henrique said:

      @mlohbihler said:
      I don't think so, but it's not hard. The only trick is that you need to know the instance id of the device.

      RemoteDevice rd = new RemoteDevice(...);
      localDevice.addRemoteDevice(rd); // This may not actually be necessary
      localDevice.send(rd, myRequest);
      

      Where "myRequest" is, say, a read property with pid of objectList. If your setting are correct, you should get the object list of the remote device.

      I found the id of my device, it's 101, but I have some doubts about it :

         public static void main(String[] args) throws Exception {
             // How to initialize the LocalDevice ?
             LocalDevice ld = new LocalDevice (???);
      
             // let's say my ip is : 1.2.3.4, is this correct ?
         	RemoteDevice rd = new RemoteDevice(101, new Address(new byte[] { (byte) 1, (byte) 2, 3, (byte) 4 }, 47808), null);
             ld.addRemoteDevice(rd);
      
             // now I have the remote device, in the localDevice, now I should be able to use the method 'getObjectList()' ?
            
             // how to use this 'myRequest' (I don't understand what you said about it ) ?
             localDevice.send(rd, myRequest);
             ...
      }
      
      

      Hi mlohbihler ,

      Can u give an example of how u instantiate myRequest?

      Regards,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • RE: Fire Alarm trigger and send informaton to notify the client software

      @Valter Henrique said:

      Get the information from your point then verify if match with what you understand the is 'on fire' then send your message to the client software.

      Hi Valter,

      Thank you for your reply. Do u have a sample .java which i can take a look on how it worked?

      Thanks,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • Fire Alarm trigger and send informaton to notify the client software

      Hi there,

      As mention above can someone explain how to to archieve via BACNET4J?

      THanks,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • RE: Fire Alarm trigger and send informaton to notify the client software

      Hi there,

      As mention above can someone explain how to to archieve via BACNET4J?

      THanks,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • Multiple BACnet Controllers with BACnet objects

      Hi there,

      I am building a Servlet that will be connecting to many BACnet Controller. I want to know if there is anyway that i can identify which BACnet Object is under which BACnet Controller and how can i go about doing it?

      Thanks.
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • RE: Multiple BACnet Controllers with BACnet objects

      Hi there,

      I am building a Servlet that will be connecting to many BACnet Controller. I want to know if there is anyway that i can identify which BACnet Object is under which BACnet Controller and how can i go about doing it?

      Thanks.
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • How to integrate BACnet Change Of Value (COV) using BACnet4J

      Hi there,

      I am currently working on BACnet4J and is able to retrieve data SlaveDeviceTest.java into a JSP via Servlet. Next thing i would to know is how or is there any example on how BACnet Change Of Value (COV) work in BACnet4J.

      Anyone care to enlight me on that.

      Regards,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84
    • RE: How to integrate BACnet Change Of Value (COV) using BACnet4J

      Hi there,

      I am currently working on BACnet4J and is able to retrieve data SlaveDeviceTest.java into a JSP via Servlet. Next thing i would to know is how or is there any example on how BACnet Change Of Value (COV) work in BACnet4J.

      Anyone care to enlight me on that.

      Regards,
      WenJun

      posted in BACnet4J general discussion
      R
      R-GiGgS84