File    : README
Name    : PC/SC Lite Driver Testing Program
Author  : Damien Sauveron <damien.sauveron@labri.fr>
Revision: July 16, 2003 (0.1.0)
License : GNU GPL version 2 - See file COPYING

This program performs a testing of the ifdhandler implementation.
It have 2 parts.
One part is a Java Card Applet that must be intalled on a Java Card (i.e. GemXpresso 211 PK).
The other part is a program sending command to the applet via PC/SC Lite and thus via the ifdhandler to test.


tar xvzf test-ifd-x.y.z.tgz (where x.y.z is the revision)
cd test-ifd-x.y.z

***********************************
Installation of the applet:
1) Applet compilation
Set up the Java compiler (version < 1.4 ) environment in your PATH.
Set up in the CLASSPATH the library about the Java Card. (i.e. api21.jar of the Java Card Development Kit 2.1.2 downloadable at http://java.sun.com/products/javacard/)
Do "make compile".

2) Applet conversion and installation
a) If you want to convert now the applet with the Java Card Development Kit 2.1.2, set up the converter in the PATH and the export file in the CLASSPATH.
Do "make convert"
Load the applet on your Java Card and install it as selected by default.

b) If you want use the GemXpresso RAD III, start it and open the project T0.gxp in the directory test-ifd-x.y.z/T0/
Edit and select your target.
Convert the project.
Load the Applet on the card and install it as selected by default (i.e. value 04 in the field Properties)

***********************************
Compilation of the testing program:
Do "make"

***********************************
Usage:
Install the ifdhandler to test and only it.

Start the PC/SC Lite daemon.
Insert the Java Card where is the Applet.
Start the testing program "testpcscdriver".
Compare the output expected with the real output.


***********************************
Why I develop this ifdhandler testing program?
I wished test my implementation of the first ifdhanler I have developed.

Support the developers of FREE program. These works spend a little time and get not money.
Thank them and send them some gifts or money to help them to improve the support.

Regards,

Damien Sauveron <damien.sauveron@labri.fr>

