• 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

    How to get the objects in the remote device?

    BACnet4J general discussion
    4
    7
    4.0k
    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.
    • P
      Pine
      last edited by

      Hello,

      I have a question about how to get all objects in the remote device? I used the WHOIS message to get the remote device but the objects attribute is always empty. I am able to read the present value of the objects (analog input) on that remote device. Could you please let me know is there anyway I can do to get the list of objects in the remote device? Thank you very much!

      1 Reply Last reply Reply Quote 0
      • S
        SteveV
        last edited by

        After you click on Whois, you get a list of remote devices. Next to each device there is a small triangle - you can click on this to see the objects (you may have to wait a few minutes) then click on each object to add the point to the datasource.

        1 Reply Last reply Reply Quote 0
        • S
          SteveV
          last edited by

          Actually I just realised that I assumed you were using BACnet4J with MangoM2M. If you are just using the BACnet4J stack then my answer will be of no help to you.

          1 Reply Last reply Reply Quote 0
          • P
            Pine
            last edited by

            Thanks a lot! I looked at the Mango M2M code and found that I can get the list of object id by read the Propertyidentifier.objectList. It works well for me now. Thank you!

            // Get the device's object list.
            List<ObjectIdentifier> oids = ((SequenceOf<ObjectIdentifier>) localDevice.sendReadPropertyAllowNull(d, d
            .getObjectIdentifier(), PropertyIdentifier.objectList)).getValues();

            1 Reply Last reply Reply Quote 0
            • V
              Valter Henrique
              last edited by

              Pine,
              I'm trying to read value using bacnet4j too.

              Could you please tell which code do you use to do that ?
              I did this locally, but not remotely.

              Thank you very much.

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

                You should just send a read property to the object with the PID presentValue. Shouldn't matter whether the object is local or remote, depending on what you mean by that of course.

                Best regards,
                Matthew

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