Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:zone_control_api [2018/03/20 15:21] yjjung [Anti Passback Zone] |
en:zone_control_api [2018/03/20 15:25] yjjung |
||
---|---|---|---|
Line 106: | Line 106: | ||
\\ | \\ | ||
---- | ---- | ||
+ | ==== Callback Function ==== | ||
+ | ==== OnCheckGlobalAPBViolation ==== | ||
+ | Callback function for global determination when an APB violation alarm occurs. | ||
+ | <code cpp> | ||
+ | typedef void (*OnCheckGlobalAPBViolation)(uint32_t deviceId, uint16_t seq, const char* userID_1, const char* userID_2, bool isDualAuth); | ||
+ | </code> | ||
+ | \\ | ||
+ | 1. //deviceId// \\ | ||
+ | Device ID \\ \\ | ||
+ | 2. //seq// \\ | ||
+ | Packet sequence number \\ \\ | ||
+ | 3. //userID_1// \\ | ||
+ | User ID 1 \\ \\ | ||
+ | 4. //userID_2// \\ | ||
+ | User ID 2 \\ \\ | ||
+ | 5. //isDualAuth// \\ | ||
+ | Indicates whether to Dual authentication. \\ \\ | ||
===== Structure ====== | ===== Structure ====== |