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.
COV Subscription lifetime out of range
-
Hi,
I'm using Bacnet4j 4.0.1. When I try to send a COV Subscription request with a lifetime of 0, I receive a "value out of range" exception. I've been trying with different values and I also get the same error if I use a value greater than 25000. Between 1 and 25000, the subscription works but obviously I only receive the events for a very short period of time.
This is the request object that I am trying to send:
new SubscribeCOVRequest(new UnsignedInteger(1), oid, Boolean.valueOf(true), new UnsignedInteger(0));
And this is the exception I get:
com.serotonin.bacnet4j.exception.ErrorAPDUException: ErrorAPDU(errorClass=services, errorCode=value-out-of-range)
What can I do to get an infinite subscription?
Thanks.