-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

- ----- Original Message ----- 
From: "Martin Buechler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 5:15 PM
Subject: Re: [OCF] PCSC Exception in method SCardTransmit: error
occurred with SCardTransmit: return code = 8010002f


> Alvin Cai @ Airos Group Inc schrieb:
> 
> ...
> 
> > 
> > [ERROR    ]
> > com.ibm.opencard.terminal.pcsc10.OCFPCSC1.OCFPCSC1.SCardTransmit
> > --- message   PCSC Exception in method SCardTransmit: error
> > occurred with SCardTransmit
> > return code = 8010002f
> > 

I have had this problem some time before. The exception was always
thrown, when I tried to send more data then it fits into one APDU and
therefore needed to split it and set up several APDUs. The first
thing I thought might be the solution is to give the card more time
to process the APDU, i.e. apdu.waitExtension() on a JavaCard. It
didn't work, so I contacted Giesecke&Devrient (because it was one of
their cards) and they told me waitExtension() gets automatically
executed, if the card needs more time. Therefore, it does not have
any effects calling waitExtension() explicitly (at least not for the
G&D JavaCard 2.1). Anyway, G&D did not have any Idea, me either.

> 
> ...
> 
> Hi Alvin,
> 
> I had the same problem from time to time. The solution always was: 
> Insert some wait states into your load-loop, like
> 'Thread.sleep(500);'  and it will work.

Can somebody explain this behaviour? Is it some kind of "fast sender
- - slow receiver" problem and we need to slow down the sender? This
would mean that one party (Card(-OS)-Manufacturer or OCF?) did not do
it's job well - otherwise waitExtension() would have been working
properly. BTW: The same problem occurs using the Gemplus GPK211 card.

- -- Katharina

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPdFPyNPDKMd+iquLEQIdLgCcCfRm5EAZDoEoiKuiMNr8ofjse6oAn33L
ip/9y+2XOd//scV9m2ltYGTs
=1hfE
-----END PGP SIGNATURE-----


---
> 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