Page 1 of 1

Error 6881 in SmartCafe Expert 6 for Extended APDU

Posted: Fri Jul 21, 2017 3:21 pm
by hosseinpro
Hi

I use extended length APDU in my applet and tested it in three different cards including J3A081, JavaCOS A22 and SmartCafe Expert 6.0.

Everything is ok in first two cards but in SmartCafe I get error 6881.
In addition, I compiled my applet for JavaCard 2.2.2 and first two cards are 2.2.2 but SmartCafe is 3.0.1

What is the problem?

Re: Error 6881 in SmartCafe Expert 6 for Extended APDU

Posted: Fri Jul 21, 2017 3:37 pm
by hosseinpro
I tested various cases and I found that SmartCafe works until 510 byte data as extended length.
But if I send 1 more byte it returns 6881.
Why?

Re: Error 6881 in SmartCafe Expert 6 for Extended APDU

Posted: Sun Jul 23, 2017 9:46 pm
by UNKNwYSHSA
What's the type of protocol you using to send this APDU? T0/T1?
Please show us your code for this APDU if you do not mind.