I'm try to do basic APDU communication with a card using the
PassThruCardService.  I thought that this CardService was sort of a default
card service that I could working easily.  Here's the code i ran, but the
channel object returns null.  I guess that i'm missing something here or
perhaps a lot!

            SmartCard smartcard = SmartCard.waitForCard(cr);
            CardService cardservice =
smartcard.getCardService(PassThruCardService.class, false);
            CardChannel channel = cardservice.getCardChannel();

What am I missing?

I've used OCF 1.1.1 and OCF 1.2 with a Litronic 210 using native drivers as
well as the OCF bridge on NT4.  

TIA,
Darryl



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