Page 1 of 1

Error 6E00 when receiving the response data under T0

Posted: Fri Sep 15, 2017 2:10 am
by mukundis
As we all know, for T=0 protocol Case 4 APDUs, once I have obtained a 0x9000, this meant that I can send a get Response command to retrieve the expected response data.

Get Response Command
>> 00 C0 00 00 Le

However, I kept getting an error status code 0x6E00, the meaning of which is that the CLA value is not supported.

Does anyone know why this happened?

Re: Error 6E00 when receiving the response data under T0

Posted: Fri Sep 15, 2017 5:14 am
by choimillen
For T=0, JCRE needs to send 61xx , where xx is the number of expected bytes. The CAD then sends a GET RESPONSE, with the same CLA byte as before and Le == xx. Finally the JCRE send the response.

Re: Error 6E00 when receiving the response data under T0

Posted: Fri Sep 15, 2017 6:29 am
by mukundis
The problem now is that the data which I am expecting did not show up after the SW response bytes.