]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdsmartcard.c
add tracing functions (#784)
[proxmark3-svn] / client / cmdsmartcard.c
index 90a219ab6974572eacf2d5b1e10841f60b7dd4a5..ac642fc992a5956fcea2f98fffaf5ed1c96084cf 100644 (file)
@@ -570,7 +570,7 @@ int ExchangeAPDUSC(uint8_t *APDU, int APDUlen, bool activateCard, bool leaveSign
        }
 
        if (*responselen < 0 ) {
-               return 2;
+               return 1;
        } else {
                return 0;
        }
@@ -929,7 +929,11 @@ static int CmdSmartSetClock(const char *Cmd){
 
 
 static int CmdSmartList(const char *Cmd) {
-       CmdHFList("7816");
+       if (UseAlternativeSmartcardReader) {
+               CmdHFList("7816 p");
+       } else {
+               CmdHFList("7816");
+       }
        return 0;
 }
 
Impressum, Datenschutz