• 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

    Tutorial on how to start using BACnet4J

    BACnet4J general discussion
    1
    3
    5.3k
    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.
    • R
      R-GiGgS84
      last edited by

      Hi there, i am sorry for asking such a question but i couldn't find any form of guide or tutorial on how i can use BACnet4J. I have try to creat a Java project in eclipse and and imported your bacnet4J-src.zip in the src folder and also the seroUtils.jar. But when i try to run the DiscoveryTest.java and SlaveDeviceTest.java, Nothing was being output on the console.

      Btw, i am trying to figure up how to setup mock bacnet devices and a bacnet client to detect this devices all on the same machine.

      1 Reply Last reply Reply Quote 0
      • R
        R-GiGgS84
        last edited by

        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?

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