Skip to content
Version 6.1.0
Contact Us

BACnetStack_ClearCalendarDateList

bool BACnetStack_ClearCalendarDateList(
const uint32_t deviceInstance,
const uint32_t calendarObjectInstance);

Empties a stack-held Calendar’s Date_List, so Present_Value becomes FALSE.

Use it to reload a calendar: clear, then add the entries again.

BACnet reference: ANSI/ASHRAE 135-2024 clause 12.9 (Calendar Object Type).

Parameter Direction Description
deviceInstance in The device instance that owns the Calendar object.
calendarObjectInstance in The stack-held Calendar (BACnetStack_AddCalendarObject()).

True on success; false if the device does not exist, the Calendar is not stack-held, or Calendar support was not compiled.

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