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.
How to implement a virtual device
-
Hi there!
I'm new to BacNet and the BacNet4J-Implementation. My goal is to implement a virtual BacNet-Network for educational purposes.
So my actual idea is to set-up some virtual machines, which should act like a BacNet-Device. One of these Machines should be something like a Command-and-Control Server to read (or write) Values to the Devices. Probably like reading temperatur values or commanding a device to start/stop the heating. The physical section like the temperatur sensors should be mocked, so these virtual devices will return something like randomly generated temperature-values and so on.
So my main question is: Are there any example-Implementations of devices? This would be helpfull for me to get a quick start for developing.
My other question is:Are there any specifications on how to implement a device?
Greetings and thanks for your anwsers,
Benni -
Check out the SlaveDeviceTest class in the src_test folder. It's not a tutorial or anything, but it should hopefully give you enough hints to get you going.
-
Thank you for that answer, it will be a great help.