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.
How to tell the client ReadPropertyMultiple is not supported
-
What is the right way for BACnet4J server to tell the client, that it does not support Read Property Multiple to force clients sending ReadProperty one by one? I know that BACnet4J supports Read Property Multiple but in my case, I need the device does not support this feature
-
Hi carnecro,
Hmm. I'm not sure, but maybe disabling it as a supported service on the device object, by doing something like modifying line 88 of com.serotonin.bacnet4j.obj.DeviceObject will do the trick, as then when other BACnet devices inquire about what services are supported reading multiple properties will not be among them. I'm not sure if there's a more explicit way to tell a certain device not to send multiple property requests.,,
-
Thank you, the right hint! The framework can do it without source code modification:
DeviceObject deviceObject = localDevice.getDeviceObject(); ServicesSupported servicesSupported = deviceObject.readProperty(PropertyIdentifier.protocolServicesSupported); servicesSupported.setReadPropertyMultiple(false);
Robert