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

  • I'd like to create an object in memory of a BACnet object in a remote device. For instance, I want to create java object representing a notification class, read the properties from the remote device for that notification class, and save those values to that object.

    I can see there is a BACnetObject class, but the constructor requires a LocalDevice (which isn't really quite representative of my situation). Looking at the code, I can see I could pass in null, and as long as i don't call addCovSubscription() or sendCovNotification(), I won't get any null pointer exceptions.

    I can see there is a RemoteObject class, which on face of it looks exactly like what I was after, but it lacks the ability to store property values which I need.

    Should I use the BACnet object class? Is the fields to store properties missing from RemoteObject? Should I write my own BACnet object classes or is there something else I've missed?


  • The BACnet object class is meant to represent local objects, so it may not be exactly what you want. The remote object class is, as you said, more what you are after, but it is only meant to be a proxy of the real object in the remote device. The problem with storing properties in the remote object is that they can easily become stale if the real remote object changes.

    If you really want to store remote properties locally (some kind of caching that i assume you will refresh as necessary), you'll be best to create your own class.