Skip to content
Version 6.1.0
Contact Us

BACnetStack_SetPropertyByObjectTypeSubscribable

bool BACnetStack_SetPropertyByObjectTypeSubscribable(
const uint32_t deviceInstance,
const uint16_t objectType,
const uint32_t propertyIdentifier,
const bool subscribable);

Per-object-TYPE variant of BACnetStack_SetPropertySubscribable().

Sets subscribability on the object-type’s default template (applied to dynamically created objects and as the type-wide default) rather than on one existing object instance. See BACnetStack_SetPropertyByObjectTypeEnabled() for the per-instance vs. per-type-template distinction and the differing preconditions.

Parameter Direction Description
deviceInstance in The instance number of the device.
objectType in The object type whose default template will be changed. See CASBACnetStack::BACnetObjectType.
propertyIdentifier in The property to make subscribable. See BACnetPropertyIdentifier.
subscribable in True to make subscribable, false to make not subscribable.

True if successful, false if failed (e.g. the object type is not registered on the device).

Topic: Objects and properties. Declared in CASBACnetStackDLL.h.