Ashish
I am using a Schlumberger Cyblerflex Access card with a Reflex 72 Reader. I
may have had
similar problems to you. I was finding that I was getting PC/SC error
00000079 returned
whenever I accessed the card using anthing other than the Cyberflex toolkit.
This was the case using either my OCF code (over the top of the
Pcsc10CardTerminal)
or using Schlumberger's own TestResMan code. The problem disappeared if I
used the
cyberflex toolkit to power the card up prior to using the other tools.
I eventually found that by using TestResMan to connect to the card using
only T0 protocol (instead
of T0 | T1), I could sometimes connect to the card successfully.
So, as a temporary measure, I have modified my copy of Pcsc10CardTerminal to
try only T0
connections and provided a loop in my connect code to retry connections up
to ten times or until
I get a successful connection. I can now always (?) establish connections
to the card within a couple
of seconds. While this is considerably better than not being able to work
with the card, I am
looking for a better solution.
I have mailed Schlumberger regarding the problem and had an initial
response. I believe that they are
looking at the problem.
Has anyone else any further ideas? My total experience with JavaCard (and
SmartCards in general)
is now a grand total of three weeks, so any further feedback would be
appreciated.
> When I ran this program it did not come out. I used here waitFor()
> method.
I am using getSmartCard(CardTerminalEvent ctEvent, CardRequest req)
> Do I need to change the opencard.properties file to run it ?
I have only had to specify the card terminal (and the CardServiceFactory,
ofcourse):
OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactor
y
Hope this helps.
Darryl
---
> 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.