pcsc-lite 2.3.0
|
This keeps track of smart card protocols, timing issues and Answer to Reset ATR handling. More...
#include "wintypes.h"
Go to the source code of this file.
Functions | |
short | ATRDecodeAtr (int *availableProtocols, int *currentProtocol, PUCHAR pucAtr, DWORD dwLength) |
parse an ATR | |
This keeps track of smart card protocols, timing issues and Answer to Reset ATR handling.
Definition in file atrhandler.h.
short ATRDecodeAtr | ( | int * | availableProtocols, |
int * | currentProtocol, | ||
PUCHAR | pucAtr, | ||
DWORD | dwLength ) |
parse an ATR
[out] | availableProtocols | available protocols |
[out] | currentProtocol | current protocol |
[in] | pucAtr | ATR |
[in] | dwLength | ATR length |
-1 | Atr must have TS and T0 |
-2 | Unable to decode TS byte |
-3 | Unable to decode LNS |
-4 | Unable do decode T protocol |
-5 | Maximum attribute size |
0 | Success |
Definition at line 66 of file atrhandler.c.