|
I'm trying to use a GCR410 and GPM896 smartcard.
I wrote
SmartCard.start();
SmartCard gpm = SmartCard.waitForCard(new
CardRequest(PassThruCardService.class));
I implemented the class with CTListener and defined the void cardInserted
and cardRemoved.
The reader recognize the events, but it close generating that excepiton
once a card is inserted.
I thank you in advance of reading this mail.
------------------------------------------------------------------------------------------------------------ The errors I got from the reader is
------------------------------------------------------------------------------------------------------------ opencard.core.terminal.CardTerminalException: got errorcode A2h from card
reader
at com.gemplus.opencard.terminal.GemplusSerialCardTerminal.powerUpCard(GemplusSerialCardTerminal.java:531) at com.gemplus.opencard.terminal.GemCoreCardTerminal.powerUpCard(GemCoreCardTerminal.java:276) at com.gemplus.opencard.terminal.GemplusSerialCardTerminal.getCardID(GemplusSerialCardTerminal.java:431) at com.gemplus.opencard.terminal.GemplusSerialCardTerminal.getCardID(GemplusSerialCardTerminal.java:397) at opencard.core.terminal.Slot.getCardID(Slot.java:120) at opencard.core.service.CardServiceRegistry.getSmartCard(CardServiceRegistry.java:299) at opencard.core.service.SmartCard.getSmartCard(SmartCard.java:369) at opencard.core.service.CardWaiter.cardInserted(CardWaiter.java:93) at opencard.core.terminal.CardTerminalRegistry.cardInserted(Compiled Code) at opencard.core.terminal.CardTerminal.cardInserted(Compiled Code) at com.gemplus.opencard.terminal.GemplusSerialCardTerminal.poll(Compiled Code) at opencard.core.terminal.CardTerminalRegistry.run(Compiled Code) at java.lang.Thread.run(Thread.java:466) ------------------------------------------------------------------------------------------------------------ My opencard.properties
------------------------------------------------------------------------------------------------------------
OpenCard.services =
opencard.opt.util.PassThruCardServiceFactory
OpenCard.terminals = com.gemplus.opencard.terminal.GemplusCardTerminalFactory|mygcr|GCR410|COM1 OpenCard.trace = opencard:4 com.ibm:4 com.gemplus.opencard.terminal:8 |
- Re: [OCF] Error A2 Davide Fiorentino
- Re: [OCF] Error A2 Patrick . BIGET
