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
Next revision Both sides next revision
en:device_api [2020/02/18 10:02]
yjjung [BS2SimpleDeviceInfoEx]
en:device_api [2021/06/06 20:35]
kateyu [Device API]
Line 1: Line 1:
 ====== Device API ====== ====== Device API ======
  
-API that controls the device information or upgrade ​the firmware.\\+API that controls the device information or upgrades ​the firmware.\\
  
   * [[BS2_GetDeviceInfo]]:​ Gets the device information.   * [[BS2_GetDeviceInfo]]:​ Gets the device information.
Line 21: Line 21:
   * [[BS2_RemoveAuthOperatorLevelEx]]:​ [+ 2.6.3] Removes specified device operator. (Support operator up to 1000)   * [[BS2_RemoveAuthOperatorLevelEx]]:​ [+ 2.6.3] Removes specified device operator. (Support operator up to 1000)
   * [[BS2_RemoveAllAuthOperatorLevelEx]]:​ [+ 2.6.3] Removes all device operators. (Support operator up to 1000)   * [[BS2_RemoveAllAuthOperatorLevelEx]]:​ [+ 2.6.3] Removes all device operators. (Support operator up to 1000)
 +  * [[BS2_GetDeviceCapabilities]]:​ [+ 2.8] Gets available function information of the device.
 ===== Structure ===== ===== Structure =====
 ==== BS2SimpleDeviceInfo ==== ==== BS2SimpleDeviceInfo ====
Line 177: Line 178:
     enum     enum
     {     {
-        BS2_SUPPORT_RS485EX = 0x00000001,​ +        BS2_SUPPORT_RS485EX ​ = 0x00000001,​ 
-        BS2_SUPPORT_CARDEX ​ = 0x00000002,​ +        BS2_SUPPORT_CARDEX ​  = 0x00000002,​ 
-        BS2_SUPPORT_DST ​    ​= 0x00000004,​ +        BS2_SUPPORT_DST ​    = 0x00000004,​ 
-        ​BS2_SUPPORT_ALL ​    BS2_SUPPORT_RS485EX | BS2_SUPPORT_CARDEX | BS2_SUPPORT_DST+        ​BS2_SUPPORT_DESFIREEX 0x00000008
-    };+        ​BS2_SUPPORT_FACE_EX = 0x00000010,
  
 +        BS2_SUPPORT_FINGER_SCAN = 0x00010000,
 +        BS2_SUPPORT_FACE_SCAN = 0x00020000,
 +        BS2_SUPPORT_FACE_EX_SCAN = 0x00040000,
 +
 +        BS2_SUPPORT_ALL ​     = BS2_SUPPORT_RS485EX | BS2_SUPPORT_CARDEX | BS2_SUPPORT_DST | BS2_SUPPORT_DESFIREEX | BS2_SUPPORT_FACE_EX | BS2_SUPPORT_FINGER_SCAN | BS2_SUPPORT_FACE_SCAN | BS2_SUPPORT_FACE_EX_SCAN,​
 +    };
     uint32_t supported;     uint32_t supported;
     uint8_t ​ reserved[4];​     uint8_t ​ reserved[4];​
Line 191: Line 198:
 The current device additionally obtains information beyond the functionality provided by BS2SimpleDeviceInfo.\\ The current device additionally obtains information beyond the functionality provided by BS2SimpleDeviceInfo.\\
 By bit masking with the values defined below, you can check if it is supported. By bit masking with the values defined below, you can check if it is supported.
-<WRAP group 70%>+<WRAP group 80%>
 ^Definition ​ ^Value ​ ^Description ​ ^ ^Definition ​ ^Value ​ ^Description ​ ^
 |BS2_SUPPORT_RS485EX ​ |0x00000001 ​ |Whether RS485 extensions are supported (In case of CoreStation 40)  | |BS2_SUPPORT_RS485EX ​ |0x00000001 ​ |Whether RS485 extensions are supported (In case of CoreStation 40)  |
Line 197: Line 204:
 |BS2_SUPPORT_DST ​ |0x00000004 ​ |Whether daylight savings time is used | |BS2_SUPPORT_DST ​ |0x00000004 ​ |Whether daylight savings time is used |
 |BS2_SUPPORT_DESFIREEX |0x00000008 |Whether DesFire advanced setting is supported [+2.6.4] | |BS2_SUPPORT_DESFIREEX |0x00000008 |Whether DesFire advanced setting is supported [+2.6.4] |
-|BS2_SUPPORT_ALL ​ |0x00000007 ​ ​|Whether to provide additional full information |+|BS2_SUPPORT_FACE_EX |0x00000010 |Whether support face matching for FSF2 [+ V2.7.1] | 
 +|BS2_SUPPORT_FINGER_SCAN |0x00010000 |Whether support fingerprint scan [+ V2.7.1] | 
 +|BS2_SUPPORT_FACE_SCAN |0x00020000 |Whether support face scan for FS2 and FL [+ V2.7.1] | 
 +|BS2_SUPPORT_FACE_EX_SCAN |0x00040000 |Whether support face scan for FSF2 [+ V2.7.1] | 
 +|BS2_SUPPORT_ALL ​ |0x0000000F ​ ​|Whether to provide additional full information |
 </​WRAP>​ </​WRAP>​