mask bStatus to get the ICC state since bSatus may also indicate
an error in b6-b7
4 lines of code changed in 1 file:
#define CCID_CLASS_CHARACTER
1 lines of code changed in 1 file:
define OZ776 USB identification
1 lines of code changed in 1 file:
define CCID_ICC_STATUS_MASK and status states
5 lines of code changed in 1 file:
CmdGetSlotStatus(): card absent or mute is not an communication error
(even if the CCID command result indicates a command failure)
4 lines of code changed in 1 file:
get_ccid_usb_interface(): the O2Micro OZ776S reader has a wrong USB
descriptor. The extra[] field is associated with the last endpoint instead
of the main USB descriptor.
31 lines of code changed in 1 file:
use @AM_CPPFLAGS@ (defined by configure.in) instead of `pkg-config
libpcsclite --cflags` since PKG_CONFIG_PATH may not be correct here
2 lines of code changed in 2 files:
define AM_CPPFLAGS=`pkg-config libpcsclite --cflags` here since we also
defined/exported a "valid" PKG_CONFIG_PATH
3 lines of code changed in 1 file:
do not define parse_CFLAGS since AM_CPPFLAGS is already defined with the
same value
0 lines of code changed in 1 file:
try to find pkg-config files in /usr/local/lib/pkgconfig since pcsc-lite
installs them in this directory by default
5 lines of code changed in 1 file:
ccid_open_hack(): do not use a null terminated C string for the
TPDU->APDU switch command since the command is NOT a C string
2 lines of code changed in 1 file:
CmdPowerOn(): do not use a null terminated C string for the EMV->ISO
switch command since the command is NOT a C string
2 lines of code changed in 1 file:
switch the Cherry xx33 reader in ISO mode if power up in EMV mode fails.
Thanks to St?phane Durand for the bug report.
3 lines of code changed in 1 file:
#define CHERRYXX33 0x046A0005
1 lines of code changed in 1 file:
IFDHSetProtocolParameters(): return the result value of SetParameters()
in case of error instead of always IFD_COMMUNICATION_ERROR.
This will allow to return IFD_NOT_SUPPORTED in some cases and avoid a
PTS negociation failure (and card ignored) in pcscd.
8 lines of code changed in 1 file:
SetParameters(): returns IFD_NOT_SUPPORTED if the CCID error is "command
not supported".
4 lines of code changed in 1 file: