]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhftopaz.c
Merge pull request #49 from micolous/less-verbose-mfsim
[proxmark3-svn] / client / cmdhftopaz.c
index b4e47482da627dc6a110c97171afc9287c8a191d..2f9bc3dc0102ddf1bbbe4c199726eb3d3ccc7d04 100644 (file)
@@ -258,11 +258,15 @@ int CmdHFTopazReader(const char *Cmd) {
        uint8_t rid_response[8];
        uint8_t *uid_echo = &rid_response[2];
        uint8_t rall_response[130];
+       bool verbose = TRUE;
+
+       char ctmp = param_getchar(Cmd, 0);
+       if ( ctmp == 'S' || ctmp == 's') verbose = FALSE;
        
        status = topaz_select(atqa, rid_response);
-       
+
        if (status == -1) {
-               PrintAndLog("Error: couldn't receive ATQA");
+               if (verbose) PrintAndLog("Error: couldn't receive ATQA");
                return -1;
        }
 
Impressum, Datenschutz