BS2_CheckGlobalAPBViolationByDoorOpen
+ v2.7.0 Transfers Global APB by door open results to the device.
Declaration
#include "BS_API.h"
int BS2_CheckGlobalAPBViolationByDoorOpen(void* context, uint32_t deviceId, uint16_t seq, int handleResult, uint32_t zoneID);
Parameter
-
[In]
context: Context -
[In]
deviceId: Devicd ID -
[In]
seq: Packet sequence -
[In]
handleResult: Global Anti Passback determination result(BS_SDK_SUCCESSorBS_SDK_ERROR_XXX) -
[In]
zoneID: Global Anti Passback zone Id
Info
Packet sequence must be the same with the value from OnCheckGlobalAPBViolationByDoorOpen
Return Value
If successfully done, BS_SDK_SUCCESS will be returned.
If there is an error, the corresponding error code will be returned.