Zone Control API > BS2_CheckGlobalAPBViolation


[+ 2.5.0] Transfers Global APB results to the device.

Declaration

#include "BS_API.h"
 
int BS2_CheckGlobalAPBViolation(void* context, uint32_t deviceId, uint16_t seq, int handleResult, uint32_t zoneID);

Parameter

  • [In] context : Context
  • [In] deviceId : Device Id
  • [In] seq : Packet sequence
  • [In] handleResult : Global Anti Passback determination result(BS_SDK_SUCCESS or BS_SDK_ERROR_XXX)
  • [In] zoneID : Global Anti Passback zone Id

NOTE
Packet sequence must be the same with the value from OnCheckGlobalAPBViolation.

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