incorrect status word on transmitting APDU command
I encountered the following problem in smart card support that is incorporated in the latest Java version:
I have a card with T=0 protocol. If I send a known command APDU to the smart card (using the CardChannel.transmit method), the card responds with 6E 00.
I traced the problem by monitoring the data sent over the USB port. It turns out that the transmit method (or its underlying functionality) has the following (correct) behaviour:
transmit sends: 00 A4 xx xx xx
Card responds with: 61 yy
transmit sends (get response): 00 C0 00 00 yy
Card responds with: data 90 00
but for a different command it performs a operation:
transmit sends: 80 A8 xx xx xx
Card responds with: 61 yy
transmit sends (get response):80 C0 00 00 yy
Card response with: 6E 00
The final card's response now 6E 00, because the Get Response command in CLA 80 does not exist on my card.
This problem did not exist in the JPCSC implementation which could be within Java 5.
Does anyone know a workaround for this problem?
Thanks,
Joachim

