Andreas Schwier
Tue, 31 Jul 2001 08:40:39 -0700
Hi Naomaru Our driver for the ORGA ECO 5000 automatically sends GET_RESPONSE; if the card returns '61 xx' or '9F xx' and the application passed a case 4 command APDU to the reader. The class byte for GET_RESPONSE is copied from the class byte used for the original command. IMHO this is the way it should be done, because GET RESPONSE (as well as PUT ENVELOPE) is a command of the T=0 transport layer and it should be invisible for the application. The application should never really care whether a card speaks T=0 or T=1. Unfortunately the designer of the PC/SC specification didn't really follow this concept. On the other hand there are (very old) cards out there, which may not work because they require a different GET_RESPONSE. For such cases it might make sense to disable automatic generation of GET RESPONSE. Andreas *************************************************************** 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 ***************************************************************