Access Control API > BS2_RemoveAccessSchedule
Removes selected time schedules.
#include "BS_API.h" int BS2_RemoveAccessSchedule(void* context, BS2_DEVICE_ID deviceId, uint32_t* accessSheduleIds, uint32_t accessScheduleIdCount);
context
: ContextdeviceId
: Device IDaccessSheduleIds
: List of access schedule IDs to removeaccessScheduleIdCount
: Number of access schedules to remove
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.