Is it possible for BACNET4J to support Virtual devices (i.e. the software is acting like a gateway) so that even though there is only 1 IP address it will appear to the BACNET explorer as representing tens or even hundreds of devices?
If Virtualization is not supported, then does BACNET4J stack support structured view of the objects so that the related objects can be grouped into a folder?
Thanks for any expert opinions!
Thanks for the confirmation. So it seems like the sample files in the project are indeed not yet updated. If anyone has updated versions of these sample files and could share them it would be most appreciated!
Thank you very much for your advice!
We checked what we have downloaded and noticed that we have already downloaded version 4. We looked at the build.gradle file we see "version = '4.0.2'". This appears to be the latest version of the library?
Is there a git clone command for downloading what latest version? Our programmer used this git command to download the library:
"git clone https://github.com/infiniteautomation/BACnet4J.git".
If this is still not the latest then we would love to be able to download the latest with updated sample programs. Thanks again for any advice.
The following are the first few lines in the build.gradle
apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'maven-publish'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
group = 'com.serotonin'
version = '4.0.2'
testCompile 'junit:junit:4.12' testCompile 'org.mockito:mockito-core:[2.7.22,3)' testCompile 'org.slf4j:slf4j-simple:[1.7.0,1.8)'
I have downloaded the latest bacnet4j ( 2016-05-18) from Sourceforge.
I have managed to compile the library file and attempted to test out some examples of using the library.
I see that there are a number of seemingly useful demo source files in the folder:
However, when I tried to compile these files there are multiple compilation errors due to the fact that the library functions may have changed. E.g. IpNetwork() function in the library no longer accepts a single string variable whereas all the test programs still calling ipNetwork() function with a single string variable. There are also other errors.
I wonder if there are updated sample files that will compile properly when linked to the library? It makes it much easier to understand the program if we can compile and test the program without having to debug all the errors.