Skip to content
Version 6.1.0
Contact Us

BACnetStack_SetMaxSupportedCOVLifetime

bool BACnetStack_SetMaxSupportedCOVLifetime(
const uint32_t deviceInstance,
const uint32_t maxSupportedCOVLifetime);

Sets ONLY the maximum supported COV lifetime for subscriptions received by this device.

The atomic, single-purpose half of BACnetStack_SetCOVSettings(). See that function’s doc for the lifetime semantics (reject-not-clamp, the 28800-second default, and the 0-sentinel behaviour) - they are identical here.

BACnet reference: ANSI/ASHRAE 135-2024 clause 13.1 (Change of Value Reporting).

Parameter Direction Description
deviceInstance in The instance of the device to configure.
maxSupportedCOVLifetime in The maximum supported COV lifetime in seconds. Valid range is 0 .. MAX_UINT32 - 1; exactly MAX_UINT32 is rejected. Pass 28800 for the device default, or 0 to substitute the same default.

True if successful, false if failed.

Topic: Device and services. Declared in CASBACnetStackDLL.h.