Hello,

On 30/05/06, Henryk Plötz <[EMAIL PROTECTED]> wrote:
I'm currently in the process of trying to write an ifd handler to be
able to use librfid in openct (and therefore in opensc and pc/sc) to be
run with the librfid that uses a patched openct ccid ifd handler that
offers the ESCAPE protocol. (E.g. I'm talking about a cardman 5121
here.)

[...]

The current way of having an openct ifd handler calling a library that
calls another openct ifd handler seems to be ugly. For the future it
would be nice to have the contact-less support in the same ifd as the
contact-based part, e.g. as an additional slot (or even several slots,
because I've been told that 4 cards should be possible). This would
also nicely solve hotplug. Of course the most easy way would be to
subclass the ccid handler, if there was something like subclassing in C.

I don't have a Cardman 5121 so what I write may not apply to the Cardman 5121.

The SCM Micro SCR 331-DI  and the SCM Micro SDI 010 are contact +
contactless readers. They are seen a one reader with two slots under
pcsc-lite with my CCID driver [1]. The contactless slot uses normal
APDU and the reader firmware manages T=CL (or whatever it is) itself.

The OmniKey  CardMan 5125 is also a dual interface reader and is
reported as "should work" with my CCID driver. But I didn't tested it
myself and do not remember if the contactless interface is also
available from my CCID driver.

The second slot (for contactless cards) can only manage one card at a
time even if the reader could manage more cards simultaniously. But I
don't have any documentation for the contactless commands and used
reverse engineering of the windows driver to guess how I could use the
contactless interface.

It would be nice if librfid could be used from a PC/SC application.
But maybe the PC/SC API is not rich enough to (efficiently) play with
contcatless cards.

Bye,

[1] http://pcsclite.alioth.debian.org/ccid.html

--
Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to