• 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

    Non unique Object Names???

    BACnet4J general discussion
    3
    7
    3.6k
    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.
    • G
      Gatos
      last edited by

      Hello,

      I create and initiate a device with multiple objects with the same name.
      No problems, no exceptions, everything works "fine".
      But according to the BACnet standard, object names MUST be unique.

      Am I missing something?

      Thanks a lot in advance.

      1 Reply Last reply Reply Quote 0
      • J
        japearson
        last edited by

        As far as I can tell it is the BACnet Object Identifier that must be unique. Although I have noticed that some third party BACnet devices get a bit confused when they see objects that have the same name. Although bacnet4j only cares about the object identifier being unique.

        I hope that helps

        1 Reply Last reply Reply Quote 0
        • G
          Gatos
          last edited by

          Yes, it helps, thanks a lot for your response.
          I see...
          Well, actually, according to the standard, the object name MUST be unique:
          http://www.bacnet.org/Bibliography/ES-7-96/ES-7-96.htm
          (This is not the specification document, but I have read the same in many BACnet sources)
          I don't doubt that there may be good arguments why this is not necessary or maybe even a bad strategy.
          However, strictly speaking, if we want to say that bacnet4j implements the BACnet specification, I think it should ensure the uniqueness of the object name.

          1 Reply Last reply Reply Quote 0
          • M
            mlohbihler
            last edited by

            I've added a check for name uniqueness upon adding a new local object to the local device (check into CVS). Note that uniqueness could still be violated by changing the name of an existing object though.

            Best regards,
            Matthew

            1 Reply Last reply Reply Quote 0
            • G
              Gatos
              last edited by

              Is then the same true when changing an ObjectIdentifier? Or is the latter simply not writable?

              Thanks + regards!

              1 Reply Last reply Reply Quote 0
              • M
                mlohbihler
                last edited by

                Presumably yes, you can change the oid, although oids themselves are immutable.

                Best regards,
                Matthew

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