From 89352c47c1dde5541bc9d70ef1d12f972837241c Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 5 Jul 2018 15:07:41 +0200 Subject: [PATCH] chg: removed smart card test things. --- client/cmdanalyse.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/client/cmdanalyse.c b/client/cmdanalyse.c index 4261da253..40ddfc809 100644 --- a/client/cmdanalyse.c +++ b/client/cmdanalyse.c @@ -494,23 +494,7 @@ int CmdAnalyseA(const char *Cmd){ //Validations if (errors || cmdp == 0 ) return usage_analyse_checksum(); - // for testing of smart card. Sending raw bytes. - UsbCommand c = {CMD_SMART_SEND, {0, 0, 0}}; - c.arg[0] = hexlen; - memcpy(c.d.asBytes, data, hexlen ); - clearCommandBuffer(); - SendCommand(&c); - - // reading response from smart card - UsbCommand resp; - if (!WaitForResponseTimeout(CMD_ACK, &resp, 2500)) { - PrintAndLogEx(WARNING, "smart card response failed"); - return 1; - } - PrintAndLogEx(SUCCESS,"resp: %s", sprint_hex(resp.d.asBytes, resp.arg[0])); - return 0; - PrintAndLogEx(NORMAL, "-- " _BLUE_(its my message) "\n"); PrintAndLogEx(NORMAL, "-- " _RED_(its my message) "\n"); PrintAndLogEx(NORMAL, "-- " _YELLOW_(its my message) "\n");