Zone Control API > BS2_CheckGlobalAPBViolation
[+ 2.5.0] Transfers Global APB results to the device.
#include "BS_API.h" int BS2_CheckGlobalAPBViolation(void* context, uint32_t deviceId, uint16_t seq, int handleResult, uint32_t zoneID);
context
: ContextdeviceId
: Device Idseq
: Packet sequencehandleResult
: Global Anti Passback determination result(BS_SDK_SUCCESS or BS_SDK_ERROR_XXX)zoneID
: Global Anti Passback zone Id
NOTE
Packet sequence must be the same with the value from OnCheckGlobalAPBViolation.
If successfully done, BS_SDK_SUCCESS
will be returned.
If there is an error, the corresponding error code will be returned.