Hello,

I'll try to answer the T=1 and pcmcia question in one mail.

For T=1, the IFD_Handler has to do all the T=1 processing.  It will get an
APDU from PC/SC and will send the response to PC/SC.  The IFDHandler and
it's subsystem must add the NAD, PCB, LEN and other items kind of like IP
is wrapped around ethernet.

For PCMCIA there is a file called hot_plugXXX.c  You must implement your
own routine which will poll your system.  This function is called about
once a second.  When you find a new reader call the RFAddReader function.
Use the hot_plug_macosx.c as an example.

Also, I just finished with the instant notification of reader/card
insertion removal.  GetStatusChange now occurs on the client along with
Status, and a few other functions.  I do this through a public memory map
that is read only.  This removes load from pcscd and also keeps it from
spawning separate processes to wait for an event and then send back the
response.  Now, you can thread off 50 GetStatusChanges for each reader and
the subsystem will not be affected.

Best Regards,
Dave

David Corcoran                                  Purdue University
1008 Cherry Lane
West Lafayette, IN 47906
[EMAIL PROTECTED]
765 - 427 - 5147                                http://www.linuxnet.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