Our Online Store have the new products: RFID antenna board. Currently it can work with JC10M24R and JCOP4 card chips.
Compared with normal cards, the antenna board module has a smaller size and fixed holes, which is easy to integrate in the IOT(Internet Of Things) project.

javacard -APDU command output

Communication

Moderator: UNKNwYSHSA

choimillen
Posts: 30
Joined: Wed Aug 19, 2015 2:55 am
Points :213
Contact:

javacard -APDU command output

Post by choimillen » Wed Aug 19, 2015 4:24 am

I used JCIDE to debug my applet.

Then I sent the following commands consecutively.
>/select 112233445501
>90 00
/send 00a4000002f801
>6F FF
/send 01a4000002f801 ?? 6A 95 expected
>68 81
/send 08a4000002f801
>6A 95

Q: The third and the fourth commands should output 6A 95. But the third output 68 81.
What was going on ? Why 6A 95 didn't occur?
Thanks.
You do not have the required permissions to view the files attached to this post. Please login first.
Last edited by choimillen on Mon Sep 07, 2015 11:48 pm, edited 1 time in total.

User avatar
horse dream
Posts: 76
Joined: Thu May 21, 2015 11:48 pm
Points :138
Contact:

Re: javacard -APDU command output

Post by horse dream » Wed Aug 19, 2015 8:32 am

The two least significant bits of the CLA byte encodes the logical channels numbers. If you set CLA to 07, it won't find any open channel except the basic one(0). So the platform handles the error before the applet receives your APDU command.
That is your applet doesn't receive the command at all.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 9 guests

JavaCard OS : Disclaimer