Our Todos driver does a number of things we find useful but that have no
equivalent interface in the ifd api.

Here are two that we're struggling with now.  One is a flag that tells the
driver to go ahead and use the card, with default timing and T=0, even
though the atr is no good.  This is useful for Cyberflex and other cards
that have an invalid default atr.  Another is a flag that says to parse the
atr to find its length rather than timing out.  This is useful for cards
that actually have a valid atr (yes, they're rare but they do exist).  Using
this flag cuts one second off the time needed to reset a card.

What would be the best way to pass these flags through the ifd interface to
the driver?  I think it has to be IFD_Set_Capabilities().  Right now we're
just inventing our own tags but maybe this should be standardized.
***************************************************************
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