Zone Control API > BS2_CheckGlobalAPBViolationByDoorOpen
[+ 2.7.0] Transfers Global APB by door open results to the device.
#include "BS_API.h" int BS2_CheckGlobalAPBViolationByDoorOpen(void* context, uint32_t deviceId, uint16_t seq, int handleResult, uint32_t zoneID);
context : ContextdeviceId : Devicd 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 OnCheckGlobalAPBViolationByDoorOpen
If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.