Hi,
0x77 is not a valid sw1. Read up on 7816-3.
I experience the same error using a SW 0x6F00, that should be a valid SW.
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
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