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.
>           Regards,
>                   Opencard student
>_________________________________________________________________
>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.



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