Bacnet4J documentation/tutorial
-
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?
-
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). -
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.
-
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 apublic static void main(String[] args)
then the test is invoked directly. -
Thank you for the reply. But still i have some unresolved questions.
- 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
- 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?