Skip to content
Version 6.1.0
Contact Us

BACnetStack_SetSchedulePriorityForWriting

bool BACnetStack_SetSchedulePriorityForWriting(
const uint32_t deviceInstance,
const uint32_t scheduleObjectInstance,
const uint8_t priority);

Sets Priority_For_Writing - the BACnet priority the Schedule uses when it writes its targets (135-2024 cl. 12.24.11).

BACnet reference: ANSI/ASHRAE 135-2024 clause 12.24 (Schedule Object Type).

Parameter Direction Description
deviceInstance in The device instance that owns this Schedule object.
scheduleObjectInstance in The Schedule object to modify.
priority in The write priority, 1..16 (1 = highest). 0 and 17..255 are refused: the call returns false and the stored value is unchanged.

True on success; false if the device or Schedule object does not exist, the priority is outside 1..16, or Schedule support was not compiled.

Topic: Schedules, calendars, trend logs and other object configuration. Declared in CASBACnetStackDLL.h.