OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
RE: [Muscle] Testing Smartcard Reader question..

From: jp (jp0rignalyahoo.com)
Date: Fri Apr 01 2005 - 00:09:51 CST


Hi Naveen

> I could make it work. I mean I could test a smart
> card through "pcscd" application.
>
> I have tested the card in the following way..
>
> >$ pcscd -f -d stdout
>

I suggest you two additional hints I learned week
ago:

1, add option -a to pcscd startap. This enable
you to show PDU exchange.

2, change default debug level from 3 to B
in driver config file
$pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist
where $pcsc is /usr/lib or /usr/local/lib

> Then when I have inserted the card in the card
> reader, I've got the output on the terminal.
>

After changed I suggested to you you will see
even more info there.

> Now, I'm planning to write a sample application that
> would read from and write to the card. Could you
> suggest me a starting point for this please?
>

I think simpler way is reading API spec, because
there are some code snippet illistrations.
Of course, only if you want to use C-language.

BTW, inside CCID driver source is directory examples/
where you can find demo application "ready-to-use".

I know nothing about others APIs.

Jan Petrou.s

                
__________________________________
Yahoo! Messenger
Show us what our next emoticon should look like. Join the fun.
http://www.advision.webevents.yahoo.com/emoticontest
_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle