Zone Control API > BS2_CheckGlobalAPBViolationByDoorOpen


BS2_CheckGlobalAPBViolationByDoorOpen

[+ 2.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

NOTE
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.

See Also

BS2_SetGlobalAPBViolationByDoorOpenHandler