Hi all
I'm developing an application, where a card reader should be accessable per remote
methode invocation.
After a set of transctions of a client, I have to shut down the Smart Card.
At the next transaction, I have to start the whole procedure again.
Commands:
SmartCard.start();
...
CardRequest cr =new CardRequest(PassThruCardService.class);
SmartCard sc = SmartCard.waitForCard(cr);
PassThruCardService facs = (PassThruCardService)
sc.getCardService(PassThruCardService.class, true);
Commands....
sc.close();
SmartCard.shutdown();
This procedure works well.
if I try to to this again (the next client makes an transaction some time later), I
get an error msg:
opencard.core.terminal.CardTerminalException: opencard.opt.terminal.protocol.T1I
OException: GemplusBlockProtocol.internalTransmit: write error
What's the mistake. I must make something wrong at closing or shutdown.
Thank you for your help.
mfG
Markus Haeusler
Visit the OpenCard Framework's WWW site at http://www.opencard.org/ for
access to documentation, code, presentations, and OCF announcements.
-----------------------------------------------------------------------------
To unsubscribe from the OCF Mailing list, send a mail to
"[EMAIL PROTECTED]" with the word "unsubscribe" in the BODY of the
message.