Java Programming - null

Hello everybody,

I am working with the javax.smartcardio package and a smartcard reader ACS ACR38U. I am able to get the terminal and the card information. I'm using and sle4442 card (T=0). But when i try to send any apducommand i get this error:

javax.smartcardio.CardException: sun.security.smartcardio.PCSCException: Unknown error 0x8010002f

the code is:

byte [] pin = new byte[]{(byte)0xff, (byte)0xff, (byte)0xff};

TerminalFactory t = TerminalFactory.getDefault();

CardTerminals c = t.terminals();

CardTerminal term = c.getTerminal("ACS ACR38U 0");

CommandAPDU comando = new CommandAPDU(0, 32, 0, 0, pin, 2);

ResponseAPDU respuesta = canal.transmit(comando);

The card pin is FFFFFF.

I don't know if the problem is on the pin of the card, i'm trying the verify command to introduce the pin. I don't know what's happening.

Can anyone help me?

Kind regards.

[950 byte] By [trifoncilloa] at [2007-11-26 23:03:24]
# 1

you'll be very lucky to get an answer on this here, to be honest. I'm not saying "don't post this here", just pointing out that it's about a very specific technology that not many people in this forum will know much - or anything - about. in short, don't rely on this forum for help with this, you're more likely to get help in a smart card forum

georgemca at 2007-7-10 13:55:03 > top of Java-index,Java Essentials,Java Programming...