Re: MUSCLE pcsc problem?

2001-05-24 Thread Emiliano Ida'

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 calling apdu.waitExtension().  You may also have to
 change the protocol bytes in your atr to give the card a longer wwt.

Yes, i tried these two solutions before, but there were some problems:
1) calling apdu.waitExtension seems does not have effect, even if i call it
very very frequently
2)The version of slb-rf60 driver doesn't look at ATR for timeout.

Many thanks for your help. Sincerely,
Emiliano Ida'
***
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
***



Re: MUSCLE pcsc problem?

2001-05-23 Thread Jim Rees

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
***