|
pcsc-lite
1.7.4
|
This keeps track of smartcard protocols, timing issues and Answer to Reset ATR handling. More...
Go to the source code of this file.
Data Structures | |
| struct | SMARTCARD_EXTENSION |
Defines | |
| #define | SCARD_CONVENTION_DIRECT 0x0001 |
| #define | SCARD_CONVENTION_INVERSE 0x0002 |
Functions | |
| short | ATRDecodeAtr (SMARTCARD_EXTENSION *psExtension, PUCHAR pucAtr, DWORD dwLength) |
| Uncomment the following for ATR debugging or use . | |
This keeps track of smartcard protocols, timing issues and Answer to Reset ATR handling.
Definition in file atrhandler.h.
| short ATRDecodeAtr | ( | SMARTCARD_EXTENSION * | psExtension, |
| PUCHAR | pucAtr, | ||
| DWORD | dwLength | ||
| ) |
Uncomment the following for ATR debugging or use .
/configure --enable-debugatr parse an ATR
| [out] | psExtension | |
| [in] | pucAtr | ATR |
| [in] | dwLength | ATR length |
| 0 | Atr must have TS and T0 |
| 0 | Unable to decode TS byte |
| 0 | Unable to decode LNS |
| 0 | Unable do decode T protocol |
| 0 | Maximum attribute size |
| 0 | Maximum attribute size |
| 1 | Success |
Definition at line 44 of file atrhandler.c.
References SCARD_PROTOCOL_UNDEFINED, SCARD_PROTOCOL_T0, SCARD_PROTOCOL_T1, SCARD_PROTOCOL_T15, and MAX_ATR_SIZE.
Referenced by PHGetDefaultProtocol(), and PHGetAvailableProtocols().
1.7.5