I need help. when i got ObjectType.analogInput's PropertyIdentifier.presentValue error.
RemoteDevice rd = findRemoteDevice(address, 10, transport, ld);
ObjectIdentifier objectIdentifier = new ObjectIdentifier(ObjectType.analogInput,0);
// ObjectIdentifier objectIdentifier = new ObjectIdentifier(ObjectType.device,10)
Map<PropertyIdentifier, Encodable> values = RequestUtils.getProperties(ld, rd,
objectIdentifier ,
null,
PropertyIdentifier.presentValue);
System.out.println(values);
Error messageļ¼
Exception in thread "main" com.serotonin.bacnet4j.exception.BACnetException: property: missing-required-parameter
at com.serotonin.bacnet4j.transport.ServiceFutureImpl.result(ServiceFutureImpl.java:85)
at com.serotonin.bacnet4j.transport.ServiceFutureImpl.get(ServiceFutureImpl.java:64)
at com.serotonin.bacnet4j.util.RequestUtils.sendOneAtATime(RequestUtils.java:429)
at com.serotonin.bacnet4j.util.RequestUtils.readProperties(RequestUtils.java:400)
at com.serotonin.bacnet4j.util.RequestUtils.readProperties(RequestUtils.java:258)
at com.serotonin.bacnet4j.util.RequestUtils.getProperties(RequestUtils.java:142)
at com.serotonin.bacnet4j.util.RequestUtils.getProperties(RequestUtils.java:136)
at com.serotonin.bacnet4j.TestMy1.main(TestMy1.java:74)
vts message: