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.