0x77 is not a valid sw1.  Read up on 7816-3.

However, I think you are solving the timeout problem the wrong way.  Your
applet should stall by sending nulls (0x60) until it is ready with the
reply.  You do this by calling apdu.waitExtension().  You may also have to
change the protocol bytes in your atr to give the card a longer wwt.
***************************************************************
Linux Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/smartcard/index.html
***************************************************************

Reply via email to