Hello,

--- Andreas Schwier <[EMAIL PROTECTED]>
escribió: > Hi Dave
> 
> I never really understood the reason for handling
> the transmission
> protocols at application level. For the application
> it should not matter, if
> the card uses T=0, T=1 or a memory card interface,

What happens if card supports more than one
transmission protocol? In't bad to have the chance to
specify wich of them the application wants to use? 

> it should just handle
> command and response APDU's. I suggest to introduce
> a PROTOCOL_GENERIC, that
> handles T=0, T=1 or memory card translation
> internally in the PC/SC (or reader)
> driver. Maybe that is what PROTOCOL_RAW was
> initially invented for.
>

I agree that for cards with only one protocol (most
smartcards and memorycards), something like
PROTOCOL_AUTO, PROTOCOL_GENERIC or just passing the
SCARD_IO_REQUEST = NULL would be fine.
 
> Or is anyone out there able to explain the use of
> the PCI data structure to me ?
> 

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to