Hello 

I'm trying to get my Towitoko Serial chipcard reader to work with
OCF.
For this, I installed the Open Chipcard Framework, and the PC/SC Lite
sources, the OCF To PC/SC Shim, and the driver for my reader.

the PC/SC tools work just fine. I start the pcscd and all tests
passed.

But if I try to communicate from within Java/OCF, I can't connect to
my reader.
I tried a lot of opencard.properties but without success.
The Java Testprogramm is the first example out of the Programming
Guide.

My opencard.proporties looks like:
OpenCard.terminals=\
com.ibm.opencard.terminal.pcsc10.Pcsc10CardTerminalFactory|my|GCR410|SHARED
OpenCard.trace = opencard:5 

My readers.conf
# Towitoko Chipdrive Micro (COM1)
FRIENDLYNAME    "Towitoko Chipdrive Micro"
DEVICENAME      TOWITOKO_CHIPDRIVE_MICRO
LIBPATH         /opt/chipkarte/lib/libtowitoko.so.2.0.0
CHANNELID       0x000001


The programm compiles fine
( http://www.kliche.org/max/tmp/OpenCardMain.java )

but if I start it, I got this errors:
opencard.core.terminal.CardTerminalException: Pcsc10CardTerminalFactory: PCSC Ex
ception in method SCardListReaders: error getting length of reader list
return code = 80100003

This error comes, if the pcscd isn't running.
If I start the deamon, the programm give the following Output, but no
return:
[ max@pluto ] $ java OpenCardMain
Reading smartcard file...
Uses ISOTPDU

Did I make a big misstake and which part of the documentation I have
to read twice?

Max
-- 
when I find my code in tons of trouble,
   friends and colleagues come to me,  
       speaking words of wisdom        
            "write in C"               

_______________________________________________
Muscle mailing list
[EMAIL PROTECTED]
http://lists.musclecard.com/mailman/listinfo/muscle

Reply via email to