Hi David,
I managed to access my TOWITOKO PCT-200 from OCF and PC/SC.
1) For PC/SC you have to get the latest drivers from Towitoko web page. It
seems they work fine.
2) For OCF I suggest you contact G&D in order to get their latest drivers
for that reader. They also work fine.
In case you get the drivers (which I think that you already have) you could
place the following line (along with the proper modifications) in your
properties file:
OpenCard.terminals =
com.gieseckedevrient.opencard.terminal.GDCardTerminalFactory|ifd_1|PCT200|0
Good luck.
Regards,
kostas
-----Original Message-----
From: David Hay <[EMAIL PROTECTED]>
To: Gary Boon <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, February 10, 2000 5:09 PM
Subject: Re: [OCF] Using PCSC
>Gary,
>
>Good luck!
>
>I have tried setting up the extern, and am still stuck with similar
>problems. One thing you could try is using the PCSCMig in your .properties
>file (presume you have made typing mistake below - terminalfactory should
be
>set using "opencard.terminals = " not .services. In their documentation
>Towitoko suggest
>
>"OpenCard.terminals =
>com.ibm.opencard.terminal.pcscmig.PcscMigCardTerminalFactory"
>
>Have tried using the pure Java drivers from Giesecke & Devrient, but also
>have problems there - see earlier message.
>
>Would appreciate it very much if you would let me know if you get it
>working. Am about to give up I think and try and purchase a Gemplus
reader!
>
>Cheers,
>
>Dave
>[EMAIL PROTECTED]
>
>
>----- Original Message -----
>From: Gary Boon <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, February 10, 2000 2:17 PM
>Subject: [OCF] Using PCSC
>
>
>> Hi,
>>
>> I want to use OCF and PCSC to access the card reader I presently have.
I'm
>> using a Towitoko chipdrive extern. When I insert the card the reader
>> indicated an error (LED displaying Red, Green then Red). I have the
>Towitoko
>> drivers installed for PCSC.
>>
>> I've assumed I can use the reference implementation for PCSC, as detailed
>> below, and access the card as displayed below.
>>
>> Is there something I'm missing?
>>
>> I created the following .properties file:
>>
>> OpenCard.services =
>> com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory
>> OpenCard.services = opencard.opt.database.BasicDatabaseFactory
>>
>> OpenCard.trace = opencard:5
>>
>> and the following source file:
>>
>> import opencard.core.service.SmartCard;
>> import opencard.core.service.CardRequest;
>> import opencard.opt.iso.fs.FileAccessCardService;
>> import opencard.opt.iso.fs.CardFile;
>>
>> public class ReadFile
>> {
>> public static void main (String[] args)
>> {
>> try
>> {
>> SmartCard.start();
>>
>> CardRequest cr = new CardRequest(FileAccessCardService.class);
>>
>> SmartCard sc = SmartCard.waitForCard(cr);
>>
>> if (sc == null)
>> {
>> // Handle error
>> }
>> else
>> {
>> sc.close();
>> }
>> }
>> catch (Exception e)
>> {
>> e.printStackTrace();
>> }
>> finally
>> {
>> try
>> {
>> SmartCard.shutdown();
>> }
>> catch (Exception e)
>> {
>> e.printStackTrace();
>> }
>> }
>> }
>> }
>>
>> Thanks
>>
>> Gary
>>
>>
>>
>>
>>
>> ---
>> > 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.
>
---
> 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.