The error code indicates the PCSC error for an SCARD_E_PROTO_MISMATCH.

Have you tried the updated OCF/PCSC layer from Gemplus (http://www.gemplus.fr/techno/opencard/cardterminals/pcsc/download.html)?

cheers


Marc Berendes wrote:


Hi!

I'm using Windows XP, a Towitoko Chipdrive micro 120 and Towitoko M64
Chipcards.
My Java application should be able to read and write simple strings from/to
these Chipcards.
I installed the OCF 1.2, but most of the examples don't work because of the
following error:


CardTerminalException:
Pcsc10CardTerminal: PCSC Exception in method SCardConnect: PC/SC Error

SCardConnect


return code = 8010000f


When compile the file GetAnyCard.java I don'r receive any error. But when I
run the program the
"waitForCard" method throws that exception. Here is the code..


..
CardRequest cr = new CardRequest (CardRequest.ANYCARD,null,null);
SmartCard sm = SmartCard.waitForCard (cr);
..


The InsertCard example works fine. The program recognizes new cards.

What can i do to get it working?


Marc Berendes



---


Visit the OpenCard web site at http://www.opencard.org/ for more
information on OpenCard---binaries, source code, documents.
This list is being archived at http://www.opencard.org/archive/opencard/


! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe ! in the body.






--
------------------------------------------------------------------
 Brian McGuiness                          Phone: +44(0)1355 272911
 Senior Software Engineer                   Fax: +44(0)1355 272993
 Ecebs Limited
 The James Watt Building,
 Scottish Enterprise Technology Park,
 East Kilbride
 G75 0QD                           Email: [EMAIL PROTECTED]
 United Kingdom                    Internet:  http://www.Ecebs.com

 This email is only for the use of the addressee.  It may contain
 information which is legally privileged, confidential and exempt
 from disclosure.  If you are not the intended recipient you are
 hereby notified that any dissemination, distribution, or copying
 of this communication and its attachments is strictly prohibited.
------------------------------------------------------------------


---
Visit the OpenCard web site at http://www.opencard.org/ for more
information on OpenCard---binaries, source code, documents.
This list is being archived at http://www.opencard.org/archive/opencard/

! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe ! in the body.




Reply via email to