I've created a "virtual" bacnet device with a couple of analog and binary controls. I can read/write the analog object with no problem, but I receive the following error when trying to write boolean to a binary remote object:
com.serotonin.bacnet4j.exception.ErrorAPDUException: ErrorAPDU(choice=127, errorClass=Property, errorCode=Missing required parameter) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:424) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:403) at com.serotonin.bacnet4j.LocalDevice.send(LocalDevice.java:396)
writing of an unsigned integer = 1 to the binary object does however work.
lastly, is there a facile way of ascertaining the type of a remote object's present value without writing java code that guesses the correct type?
Also I would like to commit some code+docs for bacnet4j (added code is mainly commons logging at this point) in the near future, please CC or send a message to 'g l y c o s l a v e at g m a i l . c o m' if you're interested.