UNSOLVED Does BACnet4J support Bitstring-Value Object?
I noticed that currently BACnet4J supports many new objects, however bitstring-value object is not able to locate in the code. Further in the alarm events, I could see support for CHANGE_OF_BITSTRING. So would like to check whether I overlooked the code for support of Bitstring-Value object.
phildunlap last edited by
Yes, I look for similar one. Since bitstringValue.java is not available under obj folder similar to other objects like AnalogInput.java etc...I thought bitStringValue is not supported.
After your clarification I understand that bitStringValue object along with intrinsic reporting is supported.
phildunlap last edited by phildunlap
I believe so, yes. The method in AnalogInputObject to support intrinsic reporting is a convenience to pass the necessary information and add the right mixin. There is a class https://github.com/infiniteautomation/BACnet4J/blob/master/src/main/java/com/serotonin/bacnet4j/obj/mixin/event/eventAlgo/ChangeOfBitstringAlgo.java which would serve as the event algorithm one would pass into the mixin, https://github.com/infiniteautomation/BACnet4J/blob/master/src/main/java/com/serotonin/bacnet4j/obj/mixin/event/IntrinsicReportingMixin.java as is done in the AnalogInputObject class. One would simply instantiate the BACnetObject class, and work from there.