Page 1 of 1
card returns "6881", why?
Posted: Thu Feb 18, 2016 4:38 am
by lefibr
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?
Re: card returns "6881", why?
Posted: Sun Feb 21, 2016 12:58 am
by UNKNwYSHSA
Show us your APDU command first please.
Re: card returns "6881", why?
Posted: Mon Feb 22, 2016 4:02 am
by lefibr
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.
Re: card returns "6881", why?
Posted: Mon Feb 22, 2016 9:27 am
by UNKNwYSHSA
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.
Re: card returns "6881", why?
Posted: Tue Feb 23, 2016 2:11 am
by lefibr
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.
Re: card returns "6881", why?
Posted: Tue Feb 23, 2016 9:23 pm
by UNKNwYSHSA
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.