T=1, Le=00 and SW1SW2=61xx

[ Follow Ups ] [ BasicCard User Forum ]

Posted by Ernstjan ( on March 03, 2004 at 02:30:39:


I have written a Case 4 command using T=1 protocol (ZC3.9) and encounter the following.

Command Request
CLA INS P1 P2 Lc Data Le=00

Command Response
All Data is returned successfully but SW1SW=6116
As stated in the BasicCard Manual page 114
"sw1LeWarning 61XX Command successfully completed, but Le was not equal to XX."

SW1SW2=6116 means that 0x16 bytes are returned and the command was executed successfully. Though I presume when Le=00 than all bytes shall be returned (which was the case and also SW1SW2=9000 shall follow?

Is there a way to force the BasicCard to return a SW1SW2=9000 in this case?


Follow Ups:

[ Follow Ups ] [ BasicCard User Forum ]