X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e8bf76a83f6df5abcc2ea23d9514b0e847f82e18..6c68b84a6e2dfc8657660c2d939ad3fd8ad096a8:/client/cmdmain.c diff --git a/client/cmdmain.c b/client/cmdmain.c index 58783030..583bafca 100644 --- a/client/cmdmain.c +++ b/client/cmdmain.c @@ -152,7 +152,7 @@ bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeou } msleep(10); // XXX ugh - if (dm_seconds == 200) { // Two seconds elapsed + if (dm_seconds == 250) { // 2.5 seconds elapsed PrintAndLog("Waiting for a response from the proxmark..."); PrintAndLog("Don't forget to cancel its operation first by pressing on the button"); } @@ -185,7 +185,15 @@ void UsbCommandReceived(UsbCommand *UC) memset(s, 0x00, sizeof(s)); size_t len = MIN(UC->arg[0],USB_CMD_DATA_SIZE); memcpy(s, UC->d.asBytes, len); - PrintAndLog("#db# %s", s); + + // test + if ( UC->arg[1] == CMD_MEASURE_ANTENNA_TUNING_HF) { + printf("\r#db# %s", s); + fflush(stdout); + } + else + PrintAndLog("#db# %s", s); + return; } break;