Hello,

Just a small FAQ in order for people to avoid searching for too long..

As some of you might already have noticed :-(, the gemplus-terminal.jar
that is bundled in the currently distributed OCF1.2 is out-of-date;
it actually corresponds to OCF1.1 and used to work in 1.1.1 too, but
deprecated features only last one version.

This distributed file (gemplus-terminal.ja) is 48379 bytes long
and was built in Dec 2, 1999. (the right version for 1.2 was out
only Dec 10).

When you try the classical GetCardID demo using this CardTerminal,
with in the properties file: OpenCard.trace = opencard:4 com.gemplus:4
you will get the following messages:
 __________
|
| $ java demos.samples.GetCardID
| ------------------------------------------------------------
| start use case: get a card ID
| 
| [CRITICAL ] opencard.opt.terminal.protocol.T1Protocol.initProtocol
| --- message   Reader initialization failed.
| --- thread    Thread[main,5,main]
| --- source    class opencard.opt.terminal.protocol.T1Protocol
| [...]
| CardTerminalException: 
| opencard.core.terminal.CardTerminalException: No reader found!
|__________

The solution is to upgrade to the current version: 4.1 (a 4.2 will
be released soon though) and replace gemplus-terminal.jar by
gemplus-terminals-4.1.jar in your java/jre/lib/ext (for Java2)
or somewhere in your CLASSPATH (for Java1). Then the trace for the
same properties file should be:
 __________
|
| $ java demos.samples.GetCardID
| ------------------------------------------------------------
| start use case: get a card ID
| 
| Gemplus Card Terminal Version:  4.01.003 Date:  December 10, 1999
| Did not find Gempluscardterminal.properties file
| Uses OCF Polling list techniques
| Obtained the following CardID:
| 
| 3B 2A 00 80 65 A2 01 01 01 40 72 D6 43
| Historicals: 80 65 A2 01 01 01 40 72 D6 43
| as a string:  e    @r C
| 
| finished use case: get a card ID
| ------------------------------------------------------------
|__________

The download page (for current version) is:
http://www.gemplus.fr/developers/technologies/opencard/cardterminals/download.html
Choose to download either the .zip or the .tar.gz file, according
to your platform.

I'll post a message here as soon as the new version is out.
Sorry for all inconvenience that this mismatch might have caused.

Cheers,
Christophe.

 = The next best thing to knowing something is knowing =
 = where to find it  -- Samuel Johnson (1709-1784)     =
--
-------------------------------------------------------------
[EMAIL PROTECTED] - Gemplus Research Lab
Phone: +33 4-42-36-57-83
-------------------------------------------------------------


---
> 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.

Reply via email to