Hi,
I've dowloaded the OCF and install it with the PCSC installation option.
I've read some advice from the mailing-list archive to begin all rigth.
I try to make the first sample which is in the OCF Programmer's Guide
(source code page 7 & 8 with the file 0011 (instead of c009) on a
CyberflexAccess card).
I've two readers : a Towitioko chipDrive micro 100 (connected on port COM2)
and a Schlumberger Reflex 72 (connected on port COM1) and I
work on WinNT 4.0 SP6.
My opencard.properties file is the following :
###############################
# Card service configuration #
###############################
OpenCard.services = \
com.slb.opencard.CyberflexAccess.CyberflexAccessCardServiceFactory
\
com.ibm.opencard.factory.MFCCardServiceFactory \
opencard.opt.util.PassThruCardServiceFactory
###############################
# Card terminal configuration #
###############################
OpenCard.terminals =
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
#OpenCard.terminals =
com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory
###############################
# Trace configuration #
###############################
OpenCard.trace = opencard:5
and I've also the reader.cfg file :
# Only needed for smart card readers with migration interface
Reader[1]
PORT_NUMBER = 1
READER_NAME = IBM 5948-B02 Card Terminal
DLL_NAME = genmfc32.dll
Reader[1]
PORT_NUMBER = 2
READER_NAME = TOWITOKO terminals
DLL_NAME = Gen_twk.dll
When I run the ReadFile program, with the Reflex 72 it works fine but with
the Towitoko, I receive this error message :
opencard.core.terminal.CardTerminalException: Pcsc10CardTerminal: PCSC Exception
in method SCardConnect: PC/SC Error
SCardConnect
return code = 8010000b
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.translatePcscException(Pcsc10CardTerminal.java:502)
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.cardConnect(Pcsc10CardTerminal.java:361)
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.internalOpenSlotChannel(Pcsc10CardTerminal.java:315)
at opencard.core.terminal.CardTerminal.openSlotChannel(CardTerminal.java:385)
at
opencard.core.service.CardServiceRegistry.getSmartCard(CardServiceRegistry.java:316)
at opencard.core.service.SmartCard.getSmartCard(SmartCard.java:388)
at opencard.core.service.CardWaiter.cardInserted(CardWaiter.java:98)
at opencard.core.event.EventGenerator.updateCards(EventGenerator.java:233)
at
opencard.core.terminal.CardTerminalRegistry.cardInserted(CardTerminalRegistry.java:281)
at opencard.core.terminal.CardTerminal.cardInserted(CardTerminal.java:577)
at
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminal.poll(Pcsc10CardTerminal.java:479)
at opencard.core.event.EventGenerator.run(EventGenerator.java:199)
at java.lang.Thread.run(Unknown Source)
I've also tested the ReaderFile program with the line 'OpenCard.terminals
= com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory' in the
opencard.properties file. But neither the Reflex 72 nor the Towitoko reader
works.
What's wrong ? Any solutions ?
Thanks
B�noni Delfosse, Developer, ALGOTRONICS SA
Science Park, 4 Avenue Einstein, 1348 Louvain-La-Neuve, Belgium
Phone +32 10 485 185 Fax +32 10 458 658
email : [EMAIL PROTECTED]
http://www.algotronics.com
Networks, Security and Technology for the e-World
---
> 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.