• 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

    Bacnet4J documentation/tutorial

    BACnet4J general discussion
    2
    5
    3.8k
    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.
    • S
      StarWarTroops
      last edited by

      I downloaded the recent version of BACNET4J and i want to know how to compile, build this code. Also i can see some useful test scenarios in the src-test folder, but am not able to figure out how to run and use these test files. Is there any documentation/tutorial available on BACNET4J?

      1 Reply Last reply Reply Quote 1
      • phildunlapP
        phildunlap
        last edited by

        Both the gradle and maven build files should be up to date. If you have Maven and Java installed and the project cloned someplace, you should be able to do a mvn clean install from the root directory (with the pom.xml file).

        1 Reply Last reply Reply Quote 0
        • S
          StarWarTroops
          last edited by

          Thanks for your answer. The project is successfully built but i want to know how to use the test files. For ex: when i run the slavedevice.test and discovery test files, i simply get error message " Editor does not contain a main type". I want to know how to run these test files and discover the devices in the network.

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            Those don't seem like the actual class names of whatever you're talking about. If a method is annotated with @Test then it's going to be a JUnit test. If on the other hand you find a public static void main(String[] args) then the test is invoked directly.

            1 Reply Last reply Reply Quote 0
            • S
              StarWarTroops
              last edited by

              Thank you for the reply. But still i have some unresolved questions.

              1. My objective is to get bacnet devices list in a network and to get the objects and its properties. Which file should i run in the Bacnet4J library to get these results? Is there any test file available in the library to get this?
                Your help is highly appreciated since there is no help available on internet
              1 Reply Last reply Reply Quote 1
              • First post
                Last post