Page 1 of 1

6881

Posted: Thu Nov 09, 2017 3:15 am
by hcxtecusn
Hi,
I create an applet named Demo, it defines a ins=(byte)0xDE,and the
cla=(byte)0xBF. when i test the apdu, the JCIDE return an error code:6881.
the Detailed description is :

the CLA indicates that it should communicate in channel 3.
But in JCIDE,We had made sure that the CLA is the right one in current
channel.So we help you change the CLA .You can send common /my_channel open
to get rid of this restriction

Then, i send 00 70 80 00 to close the channel 0, and send 00700003 to open
the channel 3. After that , i send apdu( BFDE) again, then the JCIDE return
an error code:6D 00. example:
>> /send BFDE27411086495111000000119988776655443322
>> BF DE 27 41 10 86 49 51 11 00 00 00 11 99 88 77 66 55 44 33 22
<< 6D 00 Instruction code not supported or invalid

finally, i query the word named <IS07816-4.doc> , but cannot find the
reason。
how can i fix the problem?

Re: 6881

Posted: Wed Nov 15, 2017 4:39 am
by product
Hi,

Our technical colleague has confirmed that the problem you were experiencing is a bug in JCIDE and they will fix the bug as soon as possible.

Now you can use the command below to open channel 3:

>> help /manage-channel
usage: /manage-channel open|close
open|close Channel management operation.

>> /manage-channel open
>> 00 70 00 00 01
<< 01 90 00

>> /manage-channel open
>> 01 70 00 00 01
<< 02 90 00

>> /manage-channel open
>> 02 70 00 00 01
<< 03 90 00

>> /send BFDE27411086495111000000119988776655443322
>> BF DE 27 41 10 86 49 51 11 00 00 00 11 99 88 77 66 55 44 33 22
<< BF DE 90 00


Sorry for the inconvenience casued to you.

If you still have other question about using JCIDE, please feel free to let us know.