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:smartcard_api [2021/01/28 09:59]
yjjung [BS2CSNCard]
en:smartcard_api [2021/06/06 20:16]
kateyu [BS2CSNCard]
Line 7: Line 7:
   * [[BS2_WriteCard]]:​ Writes data to the smart card.   * [[BS2_WriteCard]]:​ Writes data to the smart card.
   * [[BS2_EraseCard]]:​ Formats the smart card.   * [[BS2_EraseCard]]:​ Formats the smart card.
 +  * [[BS2_WriteQRCode]]:​ ''​[+ V2.8]''​ Write the character strings to use QR code in the structure BS2CSN Card for ''​X-Station 2''​.
 ===== Structure ====== ===== Structure ======
  
Line 25: Line 26:
 |0x02 |Secure card  | |0x02 |Secure card  |
 |0x03 |Access card  | |0x03 |Access card  |
 +|0x06 |QR Code ''​[+V2.8]'' ​ |
 |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 49: Line 51:
 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>​ + 
-TimeStamp or issueCount is an operational flag for better management but there'​s no validation check for TimeStamp or issueCount on the device. ​You can use any value as long as the data and the BS2UserBlob.cardObj match. ​ + 
-</​WRAP ​information>+<​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 ====