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.

card returns "6881", why?

JavaCard Applet Development Related Questions and Answers.
lefibr
Posts: 18
Joined: Thu Feb 18, 2016 2:38 am
Points :171
Contact:

card returns "6881", why?

Post by lefibr » Thu Feb 18, 2016 4:38 am

I can download and install my cap file successfully into my card. But when I send APDU command to card, I got the error code :
"68 81: Logical channel not supported- Cards doesn't support the operation on the specified logical channel."

I can not find any useful information. Does anyone know the reason?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: card returns "6881", why?

Post by UNKNwYSHSA » Sun Feb 21, 2016 12:58 am

Show us your APDU command first please.
sense and simplicity

lefibr
Posts: 18
Joined: Thu Feb 18, 2016 2:38 am
Points :171
Contact:

Re: card returns "6881", why?

Post by lefibr » Mon Feb 22, 2016 4:02 am

UNKNwYSHSA wrote:Show us your APDU command first please.


Hi, bro. Thanks for your reply!

Here is my APDU command.

>> 00250000060A0B0C0D0E0F7F

The INS byte is composed by an instruction to my applet.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: card returns "6881", why?

Post by UNKNwYSHSA » Mon Feb 22, 2016 9:27 am

From the APDU command CLA byte. The logical channel number is 0. This logical channel is supported by default.
Please make sure that this exception is not thrown by your applet.
sense and simplicity

lefibr
Posts: 18
Joined: Thu Feb 18, 2016 2:38 am
Points :171
Contact:

Re: card returns "6881", why?

Post by lefibr » Tue Feb 23, 2016 2:11 am

UNKNwYSHSA wrote:From the APDU command CLA byte. The logical channel number is 0. This logical channel is supported by default.
Please make sure that this exception is not thrown by your applet.


I am sure that this exception is not thrown by my applet. After this command, I have a successful message. I mean I only have the problem with this APDU command.

I think that the problem nay have some relation to the CLA byte, but if I put any other bytes value instead of 00, the card reader locks itself, and I have to reinitialize everything.

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3053
Contact:

Re: card returns "6881", why?

Post by UNKNwYSHSA » Tue Feb 23, 2016 9:23 pm

the card reader locks itself

Which type of reader you using?
The reader has it's private command(s)?
You can send the same commands with another reader?
Waiting your message.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Bing [Bot] and 50 guests

JavaCard OS : Disclaimer