Zone Control API > BS2_GetScheduledLockUnlockZone


BS2_GetScheduledLockUnlockZone

주어진 스케줄 잠금/개방 구역을 가져옵니다.

함수

#include "BS_API.h"
 
int BS2_GetScheduledLockUnlockZone(void* context, uint32_t  deviceId, uint32_t* zoneIds, uint32_t zoneIdCount, BS2ScheduledLockUnlockZone** zoneObj, uint32_t* numZone);

파라미터

참고
zoneObj 변수는 사용한 뒤 BS2_ReleaseObject 함수를 이용해 시스템에 메모리를 반환해야 합니다.

반환값

성공적으로 수행될 경우 BS_SDK_SUCCESS를 반환하고, 에러가 발생할 경우 상응하는 에러 코드를 반환합니다.

함께 보기

BS2_GetAllScheduledLockUnlockZone
BS2_GetScheduledLockUnlockZoneStatus
BS2_GetAllScheduledLockUnlockZoneStatus
BS2_SetScheduledLockUnlockZone
BS2_SetScheduledLockUnlockZoneAlarm
BS2_RemoveScheduledLockUnlockZone
BS2_RemoveAllScheduledLockUnlockZone