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:smartcard_api [2020/09/10 16:27]
yjjung
en:smartcard_api [2021/09/14 14:37] (current)
mark
Line 21: Line 21:
 <WRAP group 100%> <WRAP group 100%>
 ^Value ​ ^Description ​ ^Used Format ^ ^Value ​ ^Description ​ ^Used Format ^
-|0x00 |Unknown card  | +|0x00 |Unknown card  ​| ​ | 
-|0x01 |CSN card  | +|0x01 |CSN card  ​| ​ | 
-|0x02 |Secure card  | +|0x02 |Secure card  ​| ​ | 
-|0x03 |Access card  |+|0x03 |Access card  ​| ​ | 
 +|0x06 |QR Code  |  |
 |0x0A |Wiegand card  | BS2WiegandConfig.format (This format is used when BS2WiegandConfig.CSNIndex and BS2WiegandConfig.CardMask is set as 0 | |0x0A |Wiegand card  | BS2WiegandConfig.format (This format is used when BS2WiegandConfig.CSNIndex and BS2WiegandConfig.CardMask is set as 0 |
 |0x1A |Wiegand card  | BS2WiegandMultiConfig.formats[0] | |0x1A |Wiegand card  | BS2WiegandMultiConfig.formats[0] |
Line 44: Line 45:
 </​WRAP>​ </​WRAP>​
 **2. //size//** \\  **2. //size//** \\ 
-The size of card template. This field needs to be filled with a fixed value as '​32'​.\\ \\ +This is the size of the data buffer. This field needs to be filled with a fixed value as '​32'​.\\ \\ 
 **3. //data//** \\  **3. //data//** \\ 
 The data of card template. \\  The data of card template. \\ 
 In case of Secure Credential Card(SCC), users need to have card information which includes Card ID(24byte), issueCount(4byte) and TimeStamp(4byte). Also, cardObjs array of BS2UserBlob structure should be filled for SCC cards and the user should be updated after SCC issuing. ​ \\ In case of Secure Credential Card(SCC), users need to have card information which includes Card ID(24byte), issueCount(4byte) and TimeStamp(4byte). Also, cardObjs array of BS2UserBlob structure should be filled for SCC cards and the user should be updated after SCC issuing. ​ \\
 +\\
 +
 +
 +<WRAP tip 70%>
 +**Tip**\\
 +<wrap em> You can use any value as long as the data and the cardObj in [[user management api#​BS2UserBlob|BS2UserBlob]] match. </​wrap>​ \\
 +TimeStamp or issueCount is an operational flag for better management but there'​s no validation check for TimeStamp or issueCount on the device.\\
 +</​WRAP>​
 +
 ==== BS2SmartCardHeader ==== ==== BS2SmartCardHeader ====
 <code cpp> <code cpp>
Line 98: Line 108:
 Mask for whether there is a duress finger. \\  Mask for whether there is a duress finger. \\ 
 **8. //​cardAuthMode//​** \\  **8. //​cardAuthMode//​** \\ 
-''​Other devices ​except FaceStation F2''​ Card authentication mode. \\ +''​Other devices''​ Card authentication mode. \\ 
 ''​FaceStation F2''​ Please use **cardAuthModeEx** instead \\  ''​FaceStation F2''​ Please use **cardAuthModeEx** instead \\ 
 <WRAP group 50%> <WRAP group 50%>
Line 113: Line 123:
 Flag of usage of Alphanumeric ID \\  Flag of usage of Alphanumeric ID \\ 
 **10. //​cardAuthModeEx//​** \\  **10. //​cardAuthModeEx//​** \\ 
-''​Other devices ​except FaceStation F2''​ Please use **cardAuthMode** instead \\ +''​Other devices''​ Please use **cardAuthMode** instead \\ 
 [+ V2.7.1] ''​FaceStation F2''​ Card authentication mode \\  [+ V2.7.1] ''​FaceStation F2''​ Card authentication mode \\ 
 <WRAP group 60%> <WRAP group 60%>