JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Response value 0006 in jCardSim

JavaCard Applet Development Related Questions and Answers.
chaholic
Posts: 24
Joined: Mon Nov 23, 2015 4:52 am
Points :184
Contact:

Response value 0006 in jCardSim

Post by chaholic » Sun Nov 06, 2016 11:48 pm

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?

Tazmania09
Posts: 25
Joined: Mon Nov 30, 2015 3:40 am
Points :178
Contact:

Re: Response value 0006 in jCardSim

Post by Tazmania09 » Mon Nov 07, 2016 1:52 am

For successful APDU command, just append ISOException.throwIt(ISO7816.SW_NO_ERROR); at the end of the code. Then have a try.

chaholic
Posts: 24
Joined: Mon Nov 23, 2015 4:52 am
Points :184
Contact:

Re: Response value 0006 in jCardSim

Post by chaholic » Mon Nov 07, 2016 2:35 am

It's ok now. Is it an implementation problem for jCardSim?

Tazmania09
Posts: 25
Joined: Mon Nov 30, 2015 3:40 am
Points :178
Contact:

Re: Response value 0006 in jCardSim

Post by Tazmania09 » Mon Nov 07, 2016 4:01 am

Perhaps. You only need to regard response 0006 as response 9000.

chaholic
Posts: 24
Joined: Mon Nov 23, 2015 4:52 am
Points :184
Contact:

Re: Response value 0006 in jCardSim

Post by chaholic » Mon Nov 07, 2016 5:55 am

Thank you for your help, Tazmania09!

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 33 guests

JavaCard OS : Disclaimer