Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:log_management_api [2023/10/05 13:18]
kkshin [BS2Event]
en:log_management_api [2024/02/27 13:53] (current)
Line 5: Line 5:
  
   * [[BS2_GetLog]]:​ Gets certain amount of logs.   * [[BS2_GetLog]]:​ Gets certain amount of logs.
-  * [[BS2_GetFilteredLog]]:​ Gets filtered logs.+  * [[BS2_GetFilteredLog]]: ​''​[Deprecated]'' ​Gets filtered logs.
   * [[BS2_ClearLog]]:​ Deletes all logs.   * [[BS2_ClearLog]]:​ Deletes all logs.
   * [[BS2_StartMonitoringLog]]:​ Starts Real-time log streaming. ​   * [[BS2_StartMonitoringLog]]:​ Starts Real-time log streaming. ​
Line 11: Line 11:
   * [[BS2_StopMonitoringLog]]:​ Stops Real-time log streaming. ​   * [[BS2_StopMonitoringLog]]:​ Stops Real-time log streaming. ​
   * [[BS2_GetLogBlob]]:​ Gets certain amount of logs based on the event mask.   * [[BS2_GetLogBlob]]:​ Gets certain amount of logs based on the event mask.
-  * [[BS2_GetFilteredLogSinceEventId]]:​​ Gets filtered logs.+  * [[BS2_GetFilteredLogSinceEventId]]: ​''​[Deprecated]'' ​Gets filtered logs.
   * [[BS2_GetImageLog]] : Gets image logs using event ID.   * [[BS2_GetImageLog]] : Gets image logs using event ID.
   * [[BS2_GetLogSmallBlob]]:​ [+ 2.6.4] Gets certain amount of logs based on the event mask in an efficient way.    * [[BS2_GetLogSmallBlob]]:​ [+ 2.6.4] Gets certain amount of logs based on the event mask in an efficient way. 
-  * [[BS2_GetLogSmallBlobEx]]:​ [+ 2.7.1] Gets certain amount of logs based on the event mask in an efficient way, including the temperature information. ​+  * [[BS2_GetLogSmallBlobEx]]:​ [+ 2.7.1] Gets certain amount of logs based on the event mask in an efficient way, including the temperature information.
 ===== Callback Function ===== ===== Callback Function =====
 ==== OnLogReceived ==== ==== OnLogReceived ====
Line 79: Line 79:
             uint8_t reserved[28];​             uint8_t reserved[28];​
         } relayAction;​         } relayAction;​
 +        struct {
 +            BS2_DEVICE_ID deviceId;
 +            uint8_t data[28];
 +        } osdpStandard;​
     };     };
     union {     union {
Line 91: Line 95:
     BS2_BOOL image; ​        // Deprecated in V2.6.0     BS2_BOOL image; ​        // Deprecated in V2.6.0
 #else #else
-    uint8_t image: 1;       // ​Support ​image and DST by bit division+    uint8_t image: 1;       // ​Supports ​image and DST by splitting ​bit unit
     uint8_t isDST: 1;     uint8_t isDST: 1;
     uint8_t half: 1;     uint8_t half: 1;
Line 142: Line 146:
 **17. //​​relayAction.inputPort//​​** \\  **17. //​​relayAction.inputPort//​​** \\ 
 Relay port identifier when IM-120 RelayAction takes place. \\ \\ Relay port identifier when IM-120 RelayAction takes place. \\ \\
-**18. //​subCode//​** \\+**18. //​osdpStandard.deviceId//​** \\  
 +Identifier of the OSDP standard device. \\ \\  
 +**19. //​osdpStandard.data//​** \\  
 +This is notification structure information with a total size of 28 bytes generated from OSDP standard devices. \\ 
 +For detailed information about the structure, please refer to [[slave_control_api#​BS2OsdpStandardDeviceNotify|BS2OsdpStandardDeviceNotify]]. \\ \\ 
 +**20. //​subCode//​** \\
 Sub code value of log types. Use if the additional information is necessary. \\ Sub code value of log types. Use if the additional information is necessary. \\
 ^Category ^Event code ^Value ^Description ​ ^ ^Category ^Event code ^Value ^Description ​ ^
 |Verify ​ |BS2_SUB_EVENT_VERIFY_ID_PIN ​ |0x01  |ID and PIN verification success ​ | |Verify ​ |BS2_SUB_EVENT_VERIFY_ID_PIN ​ |0x01  |ID and PIN verification success ​ |
-|::: |BS2_SUB_EVENT_VERIFY_ID_FINGER ​ |0x02  |ID and fingerprint verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_ID_FINGER ​ |0x02  |ID and fingerprint verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_ID_FINGER_PIN ​ |0x03  |ID, fingerprint,​ and PIN verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_ID_FINGER_PIN ​ |0x03  |ID, fingerprint,​ and PIN verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_ID_FACE ​ |0x04  |ID and face verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_ID_FACE ​ |0x04  |ID and face verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_ID_FACE_PIN ​ |0x05  |ID, face, and PIN verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_ID_FACE_PIN ​ |0x05  |ID, face, and PIN verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_CARD ​ |0x06  |Card verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD ​ |0x06  |Card verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_CARD_PIN ​ |0x07  |Card and PIN verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD_PIN ​ |0x07  |Card and PIN verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_CARD_FINGER ​ |0x08  |Card and fingerprint verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD_FINGER ​ |0x08  |Card and fingerprint verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_CARD_FINGER_PIN ​ |0x09  |Card, fingerprint,​ and PIN verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD_FINGER_PIN ​ |0x09  |Card, fingerprint,​ and PIN verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_CARD_FACE ​ |0x0A  |Card and face verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD_FACE ​ |0x0A  |Card and face verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_CARD_FACE_PIN ​ |0x0B  |Card, PIN, and face verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD_FACE_PIN ​ |0x0B  |Card, PIN, and face verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_AOC ​ |0x0C  |AOC card verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_AOC ​ |0x0C  |AOC card verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_AOC_PIN ​ |0x0D  |AOC card and PIN verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_AOC_PIN ​ |0x0D  |AOC card and PIN verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_AOC_FINGER ​ |0x0E  |AOC card and fingerprint verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_AOC_FINGER ​ |0x0E  |AOC card and fingerprint verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_AOC_FINGER_PIN ​ |0x0F  |AOC card, fingerprint,​ PIN verification success ​ | +|:::  |BS2_SUB_EVENT_VERIFY_AOC_FINGER_PIN ​ |0x0F  |AOC card, fingerprint,​ PIN verification success ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBLIE_CARD ​ |0x16  |Mobile card verification success (+V2.8) ​ | +|:::  ​|BS2_SUB_EVENT_VERIFY_CARD_FACE_FINGER ​ |0x10  |Card, face and finger verification sucess ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_PIN ​ |0x17  |Mobile card and PIN verification success (+V2.8) ​ | +|:::  |BS2_SUB_EVENT_VERIFY_CARD_FINGER_FACE ​ |0x11  |Card, finger and face verification sucess ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FINGER ​ |0x18  |Mobile card and fingerprint verification success (+V2.8) ​ | +|:::  |BS2_SUB_EVENT_VERIFY_ID_FACE_FINGER ​ |0x12  |ID, face and finger verification sucess ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FINGER_PIN ​  ​|0x19  |Mobile card, fingerprint,​ PIN verification success (+V2.8) ​ | +|:::  |BS2_SUB_EVENT_VERIFY_ID_FINGER_FACE ​ |0x13  |ID, finger and face verification sucess ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FACE ​ |0x1A  |Mobile card and face verification success (+V2.8) ​ | +|:::  ​|BS2_SUB_EVENT_VERIFY_MOBLIE_CARD ​ |0x16  |Mobile card verification success (+V2.8) ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FACE_PIN ​ |0x1B  |Mobile card, face, PIN verification success (+V2.8) ​ | +|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_PIN ​ |0x17  |Mobile card and PIN verification success (+V2.8) ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FACE_FINGER ​ |0x20  |Mobile card, face, fingerprint verification success (+V2.8) ​ | +|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FINGER ​ |0x18  |Mobile card and fingerprint verification success (+V2.8) ​ | 
-|::: |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FINGER_FACE ​ |0x21  |Mobile card, fingerprint,​ face verification success (+V2.8) ​ |+|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FINGER_PIN ​ |0x19  |Mobile card, fingerprint,​ PIN verification success (+V2.8) ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FACE ​ |0x1A  |Mobile card and face verification success (+V2.8) ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FACE_PIN ​ |0x1B  |Mobile card, face, PIN verification success (+V2.8) ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FACE_FINGER ​ |0x20  |Mobile card, face, fingerprint verification success (+V2.8) ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_MOBILE_CARD_FINGER_FACE ​ |0x21  |Mobile card, fingerprint,​ face verification success (+V2.8) ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR ​ |0x25  |QR verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_PIN ​ |0x26  |QR and PIN verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_FINGER ​ |0x27  |QR and finger verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_FINGER_PIN ​ |0x28  |QR, finger and PIN verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_FACE ​ |0x29  |QR and face verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_FACE_PIN ​ |0x2A  |QR, face and PIN verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_FACE_FINGER ​ |0x2B  |QR, face and finger verification success ​ | 
 +|:::  |BS2_SUB_EVENT_VERIFY_QR_FINGER_FACE ​ |0x2C  |QR, finger and face verification success ​ |
 |Identify ​ |BS2_SUB_EVENT_IDENTIFY_FINGER ​ |0x01  |Fingerprint identification success ​ | |Identify ​ |BS2_SUB_EVENT_IDENTIFY_FINGER ​ |0x01  |Fingerprint identification success ​ |
-|::: |BS2_SUB_EVENT_IDENTIFY_FINGER_PIN ​ |0x02  |Fingerprint and PIN identification success ​ | +|:::  |BS2_SUB_EVENT_IDENTIFY_FINGER_PIN ​ |0x02  |Fingerprint and PIN identification success ​ | 
-|::: |BS2_SUB_EVENT_IDENTIFY_FACE ​ |0x03  |Face identification success ​ | +|:::  |BS2_SUB_EVENT_IDENTIFY_FACE ​ |0x03  |Face identification success ​ | 
-|::: |BS2_SUB_EVENT_IDENTIFY_FACE_PIN ​ |0x04  |Face and PIN identification success ​ |+|:::  |BS2_SUB_EVENT_IDENTIFY_FACE_PIN ​ |0x04  |Face and PIN identification success ​ | 
 +|:::  |BS2_SUB_EVENT_IDENTIFY_FACE_FINGER ​ |0x05  |Face and finger identification success ​ | 
 +|:::  |BS2_SUB_EVENT_IDENTIFY_FACE_FINGER_PIN ​ |0x06  |Face, finger and PIN identification success ​ | 
 +|:::  |BS2_SUB_EVENT_IDENTIFY_FINGER_FACE ​ |0x07  |Finger and face identification success ​ | 
 +|:::  |BS2_SUB_EVENT_IDENTIFY_FINGER_FACE_PIN ​ |0x08  |Finger, face and PIN identification success ​ | 
 +|User  |BS2_SUB_EVENT_ENROLL_FAIL_INVALID_FACE ​ |0x01  |Enroll fail (Invalid face)  | 
 +|:::  |BS2_SUB_EVENT_UPDATE_FAIL_INVALID_FACE ​ |0x01  |Update fail (Invalid face)  | 
 +|:::  |BS2_SUB_EVENT_ENROLL_FAIL_MISMATCHED_FORMAT ​ |0x02  |Enroll fail (Mismatch format) ​ | 
 +|:::  |BS2_SUB_EVENT_UPDATE_FAIL_MISMATCHED_FORMAT ​ |0x02  |Update fail (Mismatch format) ​ | 
 +|:::  |BS2_SUB_EVENT_ENROLL_FAIL_FULL_CREDENTIAL ​ |0x03  |Enroll fail (Full credential) ​ | 
 +|:::  |BS2_SUB_EVENT_UPDATE_FAIL_FULL_CREDENTIAL ​ |0x03  |Update fail (Full credential) ​ | 
 +|:::  |BS2_SUB_EVENT_ENROLL_FAIL_INVALID_USER ​ |0x04  |Enroll fail (Invalid user)  | 
 +|:::  |BS2_SUB_EVENT_UPDATE_FAIL_INVALID_USER ​ |0x04  |Update fail (Invalid user)  | 
 +|:::  |BS2_SUB_EVENT_ENROLL_FAIL_INTERNAL_ERROR ​ |0x09  |Enroll fail (Internal error) ​ | 
 +|:::  |BS2_SUB_EVENT_UPDATE_FAIL_INTERNAL_ERROR ​ |0x09  |Update fail (Internal error) ​ |
 |Auth  |BS2_SUB_EVENT_DUAL_AUTH_FAIL_TIMEOUT ​ |0x01  |Dual authentication timeout ​ | |Auth  |BS2_SUB_EVENT_DUAL_AUTH_FAIL_TIMEOUT ​ |0x01  |Dual authentication timeout ​ |
-|::: |BS2_SUB_EVENT_DUAL_AUTH_FAIL_ACCESS_GROUP ​ |0x02  |Attempted the dual authentication with invalid user| +|:::  |BS2_SUB_EVENT_DUAL_AUTH_FAIL_ACCESS_GROUP ​ |0x02  |Attempted the dual authentication with invalid user  
-|Credential ​ ​|BS2_SUB_EVENT_CREDENTIAL_ID ​ |0x01  |Invalid user ID| +|:::  |BS2_SUB_EVENT_HIGH_TEMPERATURE ​ |0x00  |High temperature ​ | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_CARD ​ |0x02  |Invalid card  | +|:::  |BS2_SUB_EVENT_NO_TEMPERATURE ​ |0x01  |No temperature ​ | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_PIN ​ |0x03  |Invalid PIN  | +|:::  |BS2_SUB_EVENT_UNMASKED_FACE ​ |0x02  |Unmasked face  | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_FINGER ​ |0x04  |Invalid fingerprint ​ | +|:::  |BS2_SUB_EVENT_BYPASS_NO_VIOLATION ​ |0x00  |Bypass violation (No)  | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_FACE ​ |0x05  |Invalid face  | +|:::  |BS2_SUB_EVENT_BYPASS_THERMAL_VIOLATION ​ |0x01  |Bypass violation (Thermal) ​ | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_AOC_PIN ​ |0x06  |Invalid AOC PIN  | +|:::  |BS2_SUB_EVENT_BYPASS_MASK_VIOLATION ​ |0x02  |Bypass violation (Mask) ​ | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_AOC_FINGER ​ |0x07  |Invalid AOC fingerprint ​ | +|:::  |BS2_SUB_EVENT_BYPASS_MASK_THERMAL_VIOLATION ​ |0x03  |Bypass violation (Mask + Thermal) ​ | 
-|::: |BS2_SUB_EVENT_CREDENTIAL_MOBILE_CARD ​ |0x08  |Invalid mobile card (+V2.8) ​ |+|Credential ​|BS2_SUB_EVENT_CREDENTIAL_ID ​ |0x01  |Invalid user ID| 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_CARD ​ |0x02  |Invalid card  | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_PIN ​ |0x03  |Invalid PIN  | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_FINGER ​ |0x04  |Invalid fingerprint ​ | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_FACE ​ |0x05  |Invalid face  | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_AOC_PIN ​ |0x06  |Invalid AOC PIN  | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_AOC_FINGER ​ |0x07  |Invalid AOC fingerprint ​ | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_MOBILE_CARD ​ |0x08  |Invalid mobile card (+V2.8) ​ | 
 +|:::  |BS2_SUB_EVENT_NON_NUMERIC_QR ​ |0x09  |Non numeric QR  | 
 +|:::  |BS2_SUB_EVENT_CREDENTIAL_QR ​ |0x0C  |Invalid QR  | 
 +|:::  |BS2_SUB_EVENT_NON_PRINTABLE_QR ​ |0x0A  |Contains unusable characters ​ | 
 +|:::  |BS2_SUB_EVENT_TOO_LONG_QR ​ |0x0B  |Too long QR  |
 |Auth  |BS2_SUB_EVENT_AUTH_FAIL_INVALID_AUTH_MODE ​ |0x01  |Invalid authentication mode  | |Auth  |BS2_SUB_EVENT_AUTH_FAIL_INVALID_AUTH_MODE ​ |0x01  |Invalid authentication mode  |
-|::: |BS2_SUB_EVENT_AUTH_FAIL_INVALID_CREDENTIAL ​ |0x02  |Non-registered authentication method| +|:::  |BS2_SUB_EVENT_AUTH_FAIL_INVALID_CREDENTIAL ​ |0x02  |Non-registered authentication method| 
-|::: |BS2_SUB_EVENT_AUTH_FAIL_TIMEOUT ​ |0x03  |Authentication timeout ​ | +|:::  |BS2_SUB_EVENT_AUTH_FAIL_TIMEOUT ​ |0x03  |Authentication timeout ​ | 
-|Access ​ |BS2_SUB_EVENT_ACCESS_DENIED_ACCESS_GROUP ​ |0x01  |Access was denied because the user has not been registered for the access group| +|:::  |BS2_SUB_EVENT_AUTH_FAIL_MATCHING_REFUSAL ​ |0x04  |Matching refusal ​ | 
-|::: |BS2_SUB_EVENT_ACCESS_DENIED_DISABLED ​ |0x02  |Access was denied because the user is inactive| +|Access ​ |BS2_SUB_EVENT_ACCESS_DENIED_ACCESS_GROUP ​ |0x01  |Access was denied because the user has not been registered for the access group  
-|::: |BS2_SUB_EVENT_ACCESS_DENIED_EXPIRED ​ |0x03  |Access was denied because the user entry period was expired| +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_DISABLED ​ |0x02  |Access was denied because the user is inactive ​ 
-|::: |BS2_SUB_EVENT_ACCESS_DENIED_ON_BLACKLIST ​ |0x04  |Access was denied because the card is on the blacklist| +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_EXPIRED ​ |0x03  |Access was denied because the user entry period was expired ​ 
-|::: |BS2_SUB_EVENT_ACCESS_DENIED_APB ​ |0x05  |Access was denied because the user has violated the anti-passback rule| +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_ON_BLACKLIST ​ |0x04  |Access was denied because the card is on the blacklist ​ 
-|::: |BS2_SUB_EVENT_ACCESS_DENIED_TIMED_APB ​ |0x06  |Access was denied because the user tried to enter the timed anti-passback zone within the limited time frame| +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_APB ​ |0x05  |Access was denied because the user has violated the anti-passback rule  
-|::: |BS2_SUB_EVENT_ACCESS_DENIED_FORCED_LOCK ​ ​|0x07 ​ |Access was denied because the zone was forced to be locked|+|:::  |BS2_SUB_EVENT_ACCESS_DENIED_TIMED_APB ​ |0x06  |Access was denied because the user tried to enter the timed anti-passback zone within the limited time frame  
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_SCHEDULED_LOCK ​ ​|0x07 ​ |Access was denied because the scheduled lock zone  | 
 +|:::  |BS2_SUB_EVENT_ACCESS_EXCUSED_APB ​ |0x08  |It violated APB rules, but Access allowed (Soft APB)  | 
 +|:::  |BS2_SUB_EVENT_ACCESS_EXCUSED_TIMED_APB ​ |0x09  |It violated Timed APB rules, but Access allowed (Soft APB)  | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_FACE_DETECTION ​ |0x0A  |Access denied (Face detection failed) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_CAMERA_CAPTURE ​ |0x0B  |Access denied (Camera capture failed) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_FAKE_FINGER ​ |0x0C  |Access denied (Fake finger) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_DEVICE_ZONE_ENTRANCE_LIMIT |0x0D  |Access denied (Device zone entrance limit) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_INTRUSION_ALARM ​ |0x0E  |Access denied (Intrusion alarm) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_INTERLOCK ​ |0x0F  |Access denied (Interlock) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_EXCUSED_AUTH_LIMIT ​ |0x10  |It violated authentication limit, but access allowed ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_AUTH_LIMIT ​ |0x11  |Access denied (Authentication limit) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_ANTI_TAILGATE ​ |0x12  |Access denied (Anti-tailgate) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_HIGH_TEMPERATURE ​ |0x13  |Access denied (High temperature) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_NO_TEMPERATURE ​ |0x14  |Access denied (No temperature) ​ | 
 +|:::  |BS2_SUB_EVENT_ACCESS_DENIED_UNMASKED_FACE ​ |0x15  |Access denied (Unmasked face)  ​|
 |APB  |BS2_SUB_EVENT_ZONE_HARD_APB ​ |0x01  |Hard APB zone  | |APB  |BS2_SUB_EVENT_ZONE_HARD_APB ​ |0x01  |Hard APB zone  |
-|::: |BS2_SUB_EVENT_ZONE_SOFT_APB ​ |0x02  |Soft APB zone  | +|:::  |BS2_SUB_EVENT_ZONE_SOFT_APB ​ |0x02  |Soft APB zone  | 
-**19. //​mainCode//​** \\ +|Door  |BS2_SUB_EVENT_DOOR_FLAG_SCHEDULE ​ |0x01  |Door flag (Schedule) ​ | 
 +|:::  |BS2_SUB_EVENT_DOOR_FLAG_OPERATOR ​ |0x04  |Door flag (Operator) ​ | 
 +|:::  |BS2_SUB_EVENT_DOOR_FLAG_EMERGENCY ​ |0x02  |Door flag (Emergency) ​ | 
 +|Floor ​ |BS2_SUB_EVENT_FLOOR_FLAG_SCHEDULE ​ |0x01  |Floor flag (Schedule) ​ | 
 +|:::  |BS2_SUB_EVENT_FLOOR_FLAG_OPERATOR ​ |0x04  |Floor flag (Operator) ​ | 
 +|:::  |BS2_SUB_EVENT_FLOOR_FLAG_ACTION ​ |0x08  |Floor flag (Action) ​ | 
 +|:::  |BS2_SUB_EVENT_FLOOR_FLAG_EMERGENCY ​ |0x02  |Floor flag (Emergency) ​ | 
 +**21. //​mainCode//​** \\ 
 Main code value of log types. \\ Main code value of log types. \\
 ^Category ​ ^Event code  ^Value ​ ^Description ​ ^ ^Category ​ ^Event code  ^Value ​ ^Description ​ ^
Line 304: Line 372:
 |:::  |BS2_EVENT_RELAY_ACTION_OFF ​ |0xC400 ​ |RelayAction Switch-OFF ​ | |:::  |BS2_EVENT_RELAY_ACTION_OFF ​ |0xC400 ​ |RelayAction Switch-OFF ​ |
 |:::  |BS2_EVENT_RELAY_ACTION_KEEP ​ |0xC500 ​ |RelayAction KEEP SIGNAL ​ | |:::  |BS2_EVENT_RELAY_ACTION_KEEP ​ |0xC500 ​ |RelayAction KEEP SIGNAL ​ |
- +**22.//​param//​** \\ 
- +
-**20.//​param//​** \\ +
 It is used only when extra information on the device is needed. Usually, a time and attendance code, a port number of the door or input device is stored in the //param// argument. It is used only when extra information on the device is needed. Usually, a time and attendance code, a port number of the door or input device is stored in the //param// argument.
 When a time and attendance code is stored, refer to the following values: When a time and attendance code is stored, refer to the following values:
Line 348: Line 414:
 \\ \\  \\ \\ 
  
-**21. //image//** \\ +**23. //image//** \\ 
 Prior to SDK V2.6.0, it used the whole 1 byte and means below: \\ Prior to SDK V2.6.0, it used the whole 1 byte and means below: \\
 - Whether the image was included when the event occurred (true / false). \\ \\ - Whether the image was included when the event occurred (true / false). \\ \\