Hi! Ilias and Andrew,
         Thanks for your suggestions. I have a Gemplus reader and I've been 
using exactly the same code in my program. Can you tell me how I can test my 
program for T=0 cards. Can I use the Microsoft windows card and see. If so, 
can you give me 2 or 3 APDU commands for that, so that I can see if it 
works. I appreciate your help. Thanks in advance.
           Best regards,
                        Opencard Student.



Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 06 Feb 2001 09:58:56 +0200
From: Ilias Traganidas <[EMAIL PROTECTED]>
Subject: RE: RE: [OCF]  how to implement T=0 protocol............

Hi,
Try using the following code:


import opencard.core.terminal.CommandAPDU;
import opencard.core.terminal.ResponseAPDU;
import opencard.opt.util.PassThruCardService;


byte[] apdu = ...;
PassThruCardService ptcs = (PassThruCardService)
card.getCardService(PassThruCardService.class, true);
command = new CommandAPDU(apdu);
response = ptcs.sendCommandAPDU(command);


At 05:18 �� 5/2/2001 +0000, you wrote:
>Hi, Laurent, Thanks for your input. I've seen the site on gemplus at 
>http://www.gemplus.fr/developers/technologies/opencard/cardterminals/download.html#SerialDistribution
> 
>But, I've seen code only protocol T=1. Does it mean only T=1 should be 
>used. Where can I find the class that can be used to send APDU commands 
>using protocol T=0. Please help. I would appreciate your help. Thanks in 
>advance.
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com



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