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.

How to handle short commands

JavaCard Applet Development Related Questions and Answers.
Anenl
Posts: 8
Joined: Mon Jul 31, 2017 3:22 am
Points :108
Contact:

How to handle short commands

Post by Anenl » Wed Aug 09, 2017 2:13 am

For the project requirement, I am developing an applet to anwser to some specific commands.

But some of these commands are only 2 byte length, which don't match with APDU standard length - 4 byte.
And the response I get from the applet is only 0x6881. So I wonder if there is a way to do handle short commands.

Thanks.

Pf6KINE
Posts: 18
Joined: Wed Apr 13, 2016 2:03 am
Points :148
Contact:

Re: How to handle short commands

Post by Pf6KINE » Wed Aug 09, 2017 10:35 pm

Describe your question clearer, then we can give you specific help.

Anenl
Posts: 8
Joined: Mon Jul 31, 2017 3:22 am
Points :108
Contact:

Re: How to handle short commands

Post by Anenl » Wed Aug 09, 2017 11:09 pm

As shown in the following code, When I sent 0x00, it works, but with other, I got error status word.

Code: Select all

m>  /send 00
 => 00
 <= 00 00 00 00 00 90 00

cm>  /send 01
 => 01
 <= 68 81                           

cm>  /send A0
 => A0
 <= 6D 00                                   


Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 40 guests

JavaCard OS : Disclaimer