I am a newer of pcsc. 
After I run the pcscd and run the testpcsc (program from pcsc-lite-1.1.0)
All things told me is ok!

But after I modify the testpcsc.c file: after the line of SCardConnect, I select 
masterfile 3f00

it return the error 0x8010000F

the source code is 


  apdu[0] = 0x00; apdu[1] = 0xa4; apdu[2] = 0x00;
  apdu[3] = 0x00; apdu[4] = 0x02;
  apdu[5] = 0x3f; apdu[6] = 0x00;
  recvlen = 5;

  rv = SCardTransmit(hCard, SCARD_PCI_T0, apdu, 7, NULL, recv, &recvlen);


/* rv return 0x8010000F */

the code and the card is ok under windows2000

My reader is towitoko serial reader,driver is towitoko-2.0.0-pre5
pcsclite-1.1.0 


thanks for any advice


***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to