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

    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
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    Vincent

    @Vincent

    0
    Reputation
    672
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Vincent Unfollow Follow

    Latest posts made by Vincent

    • RE: Failure to communicate with BACnet server simulator

      This morning it works again. Still don't understand why... Is this a bug? There something I'm missing?

      Thank you.

      posted in BACnet4J general discussion
      V
      Vincent
    • Failure to communicate with BACnet server simulator

      Hi,

      I have recently approached BACnet technology and I have succesfully tested demo applications presents in BACnet stack C library with one windows laptop mounting a linux virtual machine. I was able to launch a BACnet server simulator on my virtual machine and communicate with it through a client running on my host machine.

      Last week I have tested BACnet4J and on my host machine with a Java application with BACnet4J I have managed to read and write property on my BACnet server simulator in C running on my virtual machine.

      Today, come back from the week end, the same BACnet4J code cannot find my BACnet server (running on virtual machine) no more. I have spent several hours today trying to understand the cause but without success. On my host machine with C BACnet stack clients, I can read properties on my server, but with BACnet4J, the server doesn't respond not even to WhoIs request.

      This is the code from Test2.java. After sending WhoIsRequest() the application doesn't receive any Iam message.

      
              LocalDevice localDevice = new LocalDevice(1968, new Transport(new IpNetwork()));
      
              localDevice.getEventHandler().addListener(new Listener());
              localDevice.initialize();
      
              try {
                  localDevice.sendGlobalBroadcast(new WhoIsRequest());
                  Thread.sleep(2000);
      
         
                  getObjectList(localDevice, new Address(2001, new byte[] { 0x3a }), new OctetString("192.168.0.68", 0xBAC0),
                          76058);
      
              }
              finally {
                  localDevice.terminate();
              }
      
          static class Listener extends DeviceEventAdapter {
              @Override
              public void iAmReceived(RemoteDevice d) {
                  System.out.println("IAm received" + d);
              }
          }
      
      

      Someone could help me with this problem? What could be the reason why I get no answer not even to WhoIs request with my BACnet4J application?

      Thanks in advance.

      posted in BACnet4J general discussion
      V
      Vincent
    • RE: Failure to communicate with BACnet server simulator

      Hi,

      I have recently approached BACnet technology and I have succesfully tested demo applications presents in BACnet stack C library with one windows laptop mounting a linux virtual machine. I was able to launch a BACnet server simulator on my virtual machine and communicate with it through a client running on my host machine.

      Last week I have tested BACnet4J and on my host machine with a Java application with BACnet4J I have managed to read and write property on my BACnet server simulator in C running on my virtual machine.

      Today, come back from the week end, the same BACnet4J code cannot find my BACnet server (running on virtual machine) no more. I have spent several hours today trying to understand the cause but without success. On my host machine with C BACnet stack clients, I can read properties on my server, but with BACnet4J, the server doesn't respond not even to WhoIs request.

      This is the code from Test2.java. After sending WhoIsRequest() the application doesn't receive any Iam message.

      
              LocalDevice localDevice = new LocalDevice(1968, new Transport(new IpNetwork()));
      
              localDevice.getEventHandler().addListener(new Listener());
              localDevice.initialize();
      
              try {
                  localDevice.sendGlobalBroadcast(new WhoIsRequest());
                  Thread.sleep(2000);
      
         
                  getObjectList(localDevice, new Address(2001, new byte[] { 0x3a }), new OctetString("192.168.0.68", 0xBAC0),
                          76058);
      
              }
              finally {
                  localDevice.terminate();
              }
      
          static class Listener extends DeviceEventAdapter {
              @Override
              public void iAmReceived(RemoteDevice d) {
                  System.out.println("IAm received" + d);
              }
          }
      
      

      Someone could help me with this problem? What could be the reason why I get no answer not even to WhoIs request with my BACnet4J application?

      Thanks in advance.

      posted in BACnet4J general discussion
      V
      Vincent