BS2_SetAntiPassbackZone
Configures an Anti Passback zone.
Declaration
#include "BS_API.h"
int BS2_SetAntiPassbackZone(void* context, uint32_t deviceId, BS2AntiPassbackZone* zones, uint32_t zoneCount);
Parameter
-
[In]
context: Context -
[In]
deviceId: Device ID -
[In]
zones: List of Anti Passback zones -
[In]
zoneCount: Number of Anti Passback zones
Caution
When the Anti Passback zone ID and door ID is equivalent, this is considered as a Anti Passback zone based on the door. Therefore, when the door gets removed, the zone information could get removed also.
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
BS2_GetAllAntiPassbackZoneStatus