• Recent
    • Tags
    • Popular
    • Register
    • Login

    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.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Unsolved Does BACnet4J support Bitstring-Value Object?

    User help
    2
    4
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kishorevenki
      last edited by

      Hi,

      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.

      Please guide.

      Best Regards,
      Kishore

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi Kishore,

        Perhaps this is what you seek: https://github.com/infiniteautomation/BACnet4J/blob/master/src/main/java/com/serotonin/bacnet4j/obj/ObjectProperties.java#L946

        1 Reply Last reply Reply Quote 0
        • K
          kishorevenki
          last edited by

          Hi,

          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.

          Please confirm.

          regards,
          Kishore

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post