Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The only supported attributes are listed below; all other attributes defined in the Winsmcrd.h are returned as STATUS_NOT_SUPPORTED. The attributes are described in Interoperability Specification for ICCs and Personal Computer Systems.
Reader Attributes
| Attribute Tag | Description |
|---|---|
| SCARD_ATTR_CURRENT_PROTOCOL_TYPE | SCARD_PROTOCOL_T1 |
| SCARD_ATTR_CURRENT_CLK | 13560 (little endian integer of 13.56MHz) |
| SCARD_ATTR_CURRENT_D | 1 |
| SCARD_ATTR_CURRENT_IFSC | 32 |
| SCARD_ATTR_CURRENT_IFSD | 254 |
| SCARD_ATTR_CURRENT_BWT | 4 |
| SCARD_ATTR_DEFAULT_CLK | 13560 |
| SCARD_ATTR_MAX_CLK | 13560 |
| SCARD_ATTR_DEFAULT_DATA_RATE | 1 |
| SCARD_ATTR_MAX_DATA_RATE | 1 |
| SCARD_ATTR_CHARACTERISTICS | SCARD_READER_CONTACTLESS |
| SCARD_ATTR_MAX_IFSD | 254 |
| SCARD_ATTR_VENDOR_NAME | ASCII string |
| SCARD_ATTR_VENDOR_IFD_TYPE | ASCII string |
| SCARD_ATTR_VENDOR_IFD_VERSION | 0x01000010, version 1.0.0.1 |
| SCARD_ATTR_PROTOCOL_TYPES | SCARD_PROTOCOL_T1 |
| SCARD_ATTR_DEVICE_UNIT | 0 |
| SCARD_ATTR_CHANNEL_ID | DWORD encoded as 0xDDDDCCCC, where DDDD is the data channel type, and CCCC is the channel number. The following encodings are defined for DDDD: |
| 0x0100 = NFC; CCCC is zero | |
| 0x0200 = UICC; CCCC is zero | |
| 0x0800 = Embedded SE; CCCC is zero | |
| 0xFXXX = Vendor-defined channel type; CCCC is vendor-defined |
ICC Attributes
| Attribute Tag | Description |
|---|---|
| SCARD_ATTR_ICC_PRESENCE | (1 byte) 0 = not present, 1 = card present |
| SCARD_ATTR_ATR_STRING | (32 bytes) ATR string |
| SCARD_ATTR_ICC_TYPE_PER_ATR | (1 byte) |
| 0 = unknown type | |
| 5 = 14443A | |
| 6 = 14443B | |
| 7 = ISO-15693 |
Related topics
Near field communication (NFC) design guide