Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:smartcard_api [2021/06/06 20:15] kateyu [BS2CSNCard] |
en:smartcard_api [2021/09/14 14:37] (current) mark |
||
---|---|---|---|
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 22: | 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 | | + | |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 46: | 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. \\ |