Thanks once again. I read both the mails. I tried as u suggested below. But
it is not working.
But later I tried another solution suggested in the answers, that is
connecting it to COM2 port and trying without any drivers.
That is working to some extent by failing at SmartCard.waitForCard()? IT
keeps waiting for the card...even if the card is present.
There is a sample program GetTerminalInfos.class supplied along with OCF is
saying "0 terminals installed !"
Why is it not recognizing the terminals registered in opencard.properties
file ?
----- Original Message -----
From: Cedric Huet <[EMAIL PROTECTED]>
To: Manorama <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, April 04, 2001 11:46 PM
Subject: Re: [OCF] Help Please
> Please reread the 03/04/2001 mail I've sent to you in this forum, I
> explained that with PC/SC you need to use de IBM's ocf to pc/sc wrapper,
> and use the following config line in your opencard.properties:
> If PC/SC runs and you do not want to deactivate your reader within this
> framework, add following line to your opencard.properties:
>
OpenCard.terminals=com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactor
y
>
> This line will automatically add any detected PC/SC compliant reader to
> your OCF.
>
> Yes PC/SC locks the com port for readers it detects, and that what seems
to
> happen here. But it's OK if using OCF to PC/SC bridge.
>
> You must have OCFPCSC1.DLL in your path and pcsc_wrapper.jar in your
> classpath. Then it works.
>
> GemCheck.exe is a PC/SC tool that list and tries ATR for all PC/SC
detected
> readers on your computer.
>
> Hope it will help,
>
> CH
> At 19:30 04/04/2001, Manorama VM wrote:
> >Hi,
> >
> >We have installed GCR410P reader and drivers ( pc/sc driver which we
> >downloaded from the Gemplus site )
> >We have JDK and COMMAPI installed.
> >We have WIN98 as our OS
> >We want to try to use OCF to communicate with the card. WE have IBM's MFC
> >with sample applets loaded on to it.
> >We have "GemCheck.exe"(got this when we downloaded Drivers for terminal)
> >which is a program to check if the reader is working properly( correct
> >drivers installed or not) and to get ATR from Card if inserted .We are
able
> >to read the ATR from the card through this exe.
> >
> >But talking to applet on the card using the OCF compliant application is
not
> >working. It is failing at the SmartCard.start() itself.
> >Could anybody who knows answer , please reply?
> >
> >Also I would like to know
> > when should we use readers.cfg ? What should be the entries in the
file?
> >Do we need to modify it?
> >
> >I Read somewhere( In the mail archive), that PC/SC locks the reader?
What
> >does it mean? What is the solution for this....( my OS is WIN98)
> >Thanks in advance.
> >
> >
> >
> >
> >---
> > > 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.
>
---
> 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.