Skip to content

Retrieve objects from remote devices

pichler edited this page Jun 14, 2015 · 2 revisions

BACnet objects provided by the local or remote device instances are identified with object instances of the ObjectIdentifier class. To retrieve a list of all objects provided by a remote device, the following code line can be used:

List<ObjectIdentifier> oids = ((SequenceOf<ObjectIdentifier>) RequestUtils.sendReadPropertyAllowNull(localDevice, remoteDevice, remoteDevice.getObjectIdentifier(), PropertyIdentifier.objectList)).getValues();

Back to bacnet4J page