Parent Directory
|
Revision Log
| Links to HEAD: | (view) (download) (annotate) |
| Sticky Revision: |
use reader_index instead of lun as reader identification allocate (in IFDHCreateChannel*) and release (in IFDHCloseChannel)
hack to support the SCR331-DI contactless interface
update IFDHControl() prototype to replace LPVOID by PUCHAR (prototype changed in pcsc-lite-1.2.9-beta5)
BUG: I forgot to initialise the t1.lun field. It failed to work with more than one readers and a T=1 card in a TPDU reader.
init_driver(): use base 0 instead of 16 in strtoul() so that you can express the decimal value 15 as: 15 (decimal), 0xF (hex) or 017 (octal)
rename PCSCLITE_MAX_READERS in CCID_DRIVER_MAX_READERS This value is not defined by pcsc-lite but is internal to the CCID driver. By default pcsc-lite supports the same number of readers (16).
explicitely cast the returned value as (void) if we don't use it
IFDHSetProtocolParameters(): test the return value of SetParameters()
mark unused arguments as /*@unused@*/ for splint
lun is (unsigned int) instead of (int) Avoid a warning by splint in #define LunToReaderIndex(Lun) (Lun>>16) Left operand of >> may be negative (int): lun >> 16
if DEBUG_LEVEL_PERIODIC is not set we temporaily remove DEBUG_LEVEL_COMM in IFDHICCPresence() to avoid having the low level debug every time pcscd test the card presence
- removed CardUp() and CardDown() - all the reader initialisation/negotiation is now done in IFDHSetProtocolParameters() (that's why you need pcsc-lite-1.2.9beta3)
add support for SCardGetAttrib(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..) to know if the reader supports SCardControl(.., IOCTL_SMARTCARD_VENDOR_VERIFY_PIN, ..)
recompile using gcc -pedantic and correct: - some C++ syntax comments - many signedness "problems"
add support for Secure PIN through SCardControl() (see sample code in examples/)
in CardUp():SetParameters() the default TA1 is 0x11
- add support of IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE in IFDHControl() - read ifdDriverOptions from Info.plist to limit the use of IOCTL_SMARTCARD_VENDOR_IFD_EXCHANGE (idea from Peter Williams)
in IFDHPowerICC() IFD_POWER_DOWN is just power down without a power up. Changed to be compliant with IFD Handler specifications.
reset ATR string (length = 0) when the card is powered down or not present
add SCARD_ATTR_ATR_STRING in addition to TAG_IFD_ATR in IFDHGetCapabilities()
new IFDHControl() API
during the first IFDHCreateChannel*() init_debug() is called to read the value of ifdLogLevel from the Info.plist
do not return before pthread_mutex_unlock() in IFDHCreateChannelByName()
also call ccid_open_hack() in IFDHCreateChannelByName()
T=1 context is initialized in CardUp(), not in IFDHCreateChannel()
revert to nearly previous version. - IFD_POWER_DOWN is power down and power up (cold reset) - IFD_RESET is power up (warm reset) - IFD_POWER_UP is power up
Reset action is power off and power on, not just power on
huge rework of CardUp()
Perform PPS and IFSD only if the reader does not do it automatically
use Protocol_T1_Negociate_IFSD() in CardUp()
add CardUp() and CardDown() for PowerOn and PowerOff actions
removed useless function name in debug messages since we use __FUNCTION__
add support of IFDHCreateChannelByName
add support of T=1 in TPDU mode
call ccid_open_hack() in IFDHCreateChannel() instead of in each OpenPort()
use an (int *) instead of a PDWORD for rx_length argument
add get_ccid_slot() function
remove function name from debug message since __FUNCTION__ is now used in DEBUG_* macro definition
return IFD_NOT_SUPPORTED instead of IFD_SUCCESS in functions doing nothing (yet) (IFDHSetCapabilities, IFDHSetProtocolParameters, IFDHControl);
set the result buffer length to 0 in IFDHControl()
use a updated version of acx_pthread.m4 needed for FreeBSD
add support of thread safe (APDU multiplexing on different readers)
use OpenPort instead of OpenUSB. move the complex TPDU management in commands.c (and use it only if reader does not support APDU mode)
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |