Access Control API > BS2_RemoveAccessSchedule


Removes selected time schedules.

Declaration

#include "BS_API.h"
 
int BS2_RemoveAccessSchedule(void* context, BS2_DEVICE_ID deviceId, uint32_t* accessSheduleIds, uint32_t accessScheduleIdCount);

Parameter

  • [In] context : Context
  • [In] deviceId : Device ID
  • [In] accessSheduleIds : List of access schedule IDs to remove
  • [In] accessScheduleIdCount : Number of access schedules to remove

Return Value

If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.

See Also