Page 1 of 1

Response value 0006 in jCardSim

Posted: Sun Nov 06, 2016 11:48 pm
by chaholic
APDU command can be executed successfully in jCardSim. But the response value is 0006. If turning this upside down, you will find it's 9000. Is it another expression format of 9000?

Re: Response value 0006 in jCardSim

Posted: Mon Nov 07, 2016 1:52 am
by Tazmania09
For successful APDU command, just append ISOException.throwIt(ISO7816.SW_NO_ERROR); at the end of the code. Then have a try.

Re: Response value 0006 in jCardSim

Posted: Mon Nov 07, 2016 2:35 am
by chaholic
It's ok now. Is it an implementation problem for jCardSim?

Re: Response value 0006 in jCardSim

Posted: Mon Nov 07, 2016 4:01 am
by Tazmania09
Perhaps. You only need to regard response 0006 as response 9000.

Re: Response value 0006 in jCardSim

Posted: Mon Nov 07, 2016 5:55 am
by chaholic
Thank you for your help, Tazmania09!