JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
How to handle short commands
How to handle short commands
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.
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.
Re: How to handle short commands
Describe your question clearer, then we can give you specific help.
Re: How to handle short commands
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
Who is online
Users browsing this forum: No registered users and 61 guests