Greetings,
I'm feeling Harold's frustration with this ChipDrive Micro which should
communicate with an applet.

On Windows98, running the JDK1.3.0_02, the JavaComm API works fine.
I followed the instructions for the OCF installation, but the InternetBroker
Demo didn't work.

I still moved forward and tried to follow the programming guide found on the
OpenCard website.  So, my version of the program starts, waits for a card,
and then when on is inserted, I get a huge list of errors.

This is the line of code that it bugs out on:

SmartCard   sc = SmartCard.waitForCard(cr);

This is what is shown on the screen when the program runs:

starting up smartcard...
Stard Card Request...
opencard.core.terminal.CommunicationErrorException:
com.gieseckedevrient.opencar
d.terminal.driver.PCTDriver::resetCardInternal: Failed resetting smartcard
in slot 0
        
atcom.gieseckedevrient.opencard.terminal.driver.PCTDriver.resetCardInternal(
PCTDriver.java:758)
at 
com.gieseckedevrient.opencard.terminal.driver.PCTDriver.requestCard(PCTDrive
r.java:326)
at 
com.gieseckedevrient.opencard.terminal.driver.CardTerminalDriver.request(Car
dTerminalDriver.java:201)
at 
com.gieseckedevrient.opencard.terminal.GDCardTerminal.powerUpCard(GDCardTerm
inal.java:528)
at 
com.gieseckedevrient.opencard.terminal.GDCardTerminal.getCardID(GDCardTermin
al.java:412)
at 
opencard.core.service.CardServiceRegistry.getSmartCard(CardServiceRegistry.j
ava:303)
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(CardTerminalRegistr
y.java:281)
at opencard.core.terminal.CardTerminal.cardInserted(CardTerminal.java:577)
at 
com.gieseckedevrient.opencard.terminal.PCT200CardTerminal.poll(PCT200CardTer
minal.java:259)
at opencard.core.event.EventGenerator.run(EventGenerator.java:199)
at java.lang.Thread.run(Thread.java:484)
shutting down smartcard...


My novice Java skills can't figure that out.

The opencard.properties file has this:

OpenCard.terminals =
com.gieseckedevrient.opencard.terminal.GDCardTerminalFactory|ifd_1|PCT200|0
OpenCard.services =
com.gieseckedevrient.opencard.demo.service.GDCardServiceFactor

None of that tracing stuff.  Should there be something in there?

The readers.cfg file is this:

Reader[1]
 PORT_NUMBER = 1
 READER_NAME = TOWITOKO terminals
 DLL_NAME = gen_twk.dll

But I don't believe I need to change that.

Does anyone know what's wrong with this scenario? Is it easier to use the
PC/SC bridge?  If I can simply get some functions which read and store
information onto the card without so much complexity, the summer would be
far more enjoyable.

Thank you so much for your time.

-- 
Selma C. Holden
Tufts University Bioengineering Center
[EMAIL PROTECTED]



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