Hi,
trying to programm my first attempt with JavaCard/OpenCard, i thought i
go the easy way and use
the PassThruCardService. But i can't use the sendCommandAPDU without
running into following Exception:
--- message PCSC Exception in method SCardTransmit: error occurred
with SCardTransmit
return code = 00000057
this is the relevant Code:
PassThruCardService ptcs =
(PassThruCardService)sc.getCardService(
PassThruCardService.class, true );
CommandAPDU selAPDU = new CommandAPDU(selectApplet);
// ... and now the exception:
byte[] res=(ptcs.sendCommandAPDU(selAPDU)).getBuffer();
I use a PCSC-Terminal and a Orga "SmartJava Basic"-Card. Can anybody
please help me?
Thanks
---
> 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.