OK. Next, let's try to use OCF with PCSC first. Since we know PCSC with the reader works. We will get to pure java later.
Edit your opencard.properties to have something like this: ############################### # Open Card Service ############################### OpenCard.services = opencard.opt.util.PassThruCardServiceFactory ############################### # Open Card Terminal ############################### OpenCard.terminals = com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory Then, run the demo program that comes with OCF (eg. InsertCard). If you get Unsatisfied link error, then it means you haven't copied the PCSC wrapper to where java can find it. Let see if this works. If so, then we will go onto pure java method. Cheers, Eddy win Patterson wrote: > well...let me figure it out. > I totally stop 2 things,first is SCardSvr service and then is disable the > card reader in the hardware manager. > I download and install the SmartDiag and used it too. > I can get the card's ATR(if I didnt stop any thing!!) > my card's ATR is "3B B2 11 00 10 80 00 02" > > ----- Original Message ----- > From: "Eddy Cheung" <[EMAIL PROTECTED]> > To: "win Patterson" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, March 26, 2003 9:26 AM > Subject: Re: Fw: [OCF] No reader found > > > Hi, > > First, Let's establish your card reader is in good working condition. > > I understand that Brian has previously asked you to disable it in the device > manager. The right thing to do for pure Java option. However, can you > enable > the device again, and see if you can use SmartDiag to get card's ATR. > SmartDiag can be found on Gemlus's web site. > > Cheers, > Eddy > > win Patterson wrote: > >>Now when the following code execute, the program stop and wait, don't have >>any exception.... >>opencard.core.service.SmartCard.start(); >> > > > > --- > >>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.
