Hello Jose,
I know that some readers causes problem, what is your reader (eventually the
version of the gemCore indicating on a stick below)? And you could try to
send the same APDU by setting an Le different from 0.
Laurent.
-----Original Message-----
From: Jose Baguero [mailto:[EMAIL PROTECTED]]
Sent: mercredi 21 février 2001 12:49
To: [EMAIL PROTECTED]
Subject: [OCF] PCSC error 57 with new pcsc.jar
Hello,
If someone have experience in solving the problem with PCSC error 57, please
help to figure out what can be the reason: (I sow the threads before in
[OCF])
I have downloaded NEW pcsc driver from the locaion:
http://www.opencard.org/archive/opencard/1768.html
removed "reference-terminals-windows.jar" from java/jre/lib/ext/,
copied "pcsc.jar" at the same place,
My opencard.properties:
OpenCard.services =
opencard.opt.util.PassThruCardServiceFactory
OpenCard.terminals =
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
The length of the CommandApdu is only 8 byte:
"80 f2 80 00 02 4f 00 00"
(I tryed several, that one is the shortest)
Error message is:
opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal:
PCSC Exception in method SCardTransmit: error occurred with SCardTransmit
return code = 00000057
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.translatePcscException(P
csc10CardTerminal.java:502)
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalSendAPDU(Pcsc10C
ardTerminal.java:439)
at opencard.core.terminal.CardTerminal.sendAPDU(CardTerminal.java:494)
at opencard.core.terminal.SlotChannel.sendAPDU(SlotChannel.java:115)
at opencard.core.service.CardChannel.sendCommandAPDU(CardChannel.java:222)
at
opencard.opt.util.PassThruCardService.sendCommandAPDU(PassThruCardService.ja
va:153)
.............
Thank you.
Cheers,
Jose
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---
> 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.
---
> 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.