Dear all,
Can anyone have an example that shows me how to fix
the following problem?
Regards,
Simon
Hi Sir,
I read the following new from the OpenCard Web
site, I had got the same problem
did you know how to fix it? If you did, coould you
send me a sample program?
Thank you very much!
Best regards,
Simon
>>Guy,
>>
>>The PC/SC CardTerminal doesn't manage automatically
ISO 7816-4 Case 4 APDU commands (APDU commands with
input and
>>output data) whereas the Gemplus CardTerminal does
manage automatic the sending of the GetResponse APDU
command.
>>
>>That's why your application is running with Gemplus
CardTerminal and not with PC/SC CardTerminal.
>>
>>To fix the problem, you need to send your APDU
command with input data and send manually a
GetResponse APDU
>>command afterwards.
>>
>>Hope this helps.
>>
>>Patrick.
>>
>>Guy Tsobgni wrote:
>>
> Hello all,
>
> I try a sample <<GetSmartCard.java>> provided with
OCF1.2.
>
> With the Comm Api all things are OK.
>
> With PC/SC the sample work with IBM smart card going
with a book <<Smart
> Card Application Development Using Jave>> and
> not work with Gemplus GPK8000.
>
> My opencard.properties is:
> OpenCard.services =
>
com.gemplus.opencard.service.gpk.factory.GPKCardServiceFactory
> OpenCard.terminals =
>
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
> OpenCard.trace = opencard:6 com.gemplus:6
>
> I have the following error messages:
> Starting demo...
>
------------------------------------------------------------
> start use case: get a SmartCard object
>
> card removed
> card inserted
> opencard.core.terminal.CardTerminalException:
Pcsc10CardTerminal: PCSC
> Exception in method SCardTransmit: error occurred
> with SCardTransmit
> return code = 00000057
>
>>...
>>Dear sir/madam,
>>
>>We have a very urgent problem. When we are trying to
perform a
>>transaction in the Mondex card, OCF returned the
following error (last line):
>>
>>smartcard started.
>>card request instantiated.
>>MondexPurseCardService obtained.
>>APDU = APDU_Buffer = 8024000005 (hex) | lc = 0 | le
= 5
>>APDU = APDU_Buffer = 8022000060 (hex) | lc = 0 | le
= 96
>>Register Mondex ID:5894520100524854
>>APDU = APDU_Buffer = 8054000033 (hex) | lc = 0 | le
= 51
>>Payment register PID:5894520100524854
>>Pocket:
>>>>APDU = APDU_Buffer = 802A000024 (hex) | lc = 0 |
le = 36
>>2664
>>>>APDU = APDU_Buffer =
>>805200004400000000000001484B4407CF0B0312090B589452010052480041203331313220434F4E53554D31F0010000000000000000385445535420534348454D45203220200101B5C2
>>(hex) | lc = 68 | le = 194
>>Pcsc10CardTerminal: PCSC Exception in method
SCardTransmit: error occurred with SCardTransmit
>>return code = 00000057
>>
>>What is the meaning of this SCardTransmit (PC/SC
00000057) error? We found that:
>>1. Sending other commands to the Mondex card has no
problems (like the first
>> 4 APDUs);
>>2. For the problematic APDU, sending it using PC/SC
with Visual Basic
>> has no problem. Is it the problem between
the interface of PC/SC and OCF?
>>>>
>>Yours
>>...
_________________________________________________________
Do You Yahoo!?
�K�O�n�O @yahoo.com.hk �q�l�l�� @ http://mail.yahoo.com.hk
Get your free @yahoo.com.hk address at http://mail.yahoo.com.hk
---
> 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.