From 65a23af22bbe71a169cd6a2cd8bd0a3275a95e9a Mon Sep 17 00:00:00 2001 From: "dn337t@gmail.com" Date: Tue, 29 May 2012 12:22:08 +0000 Subject: [PATCH] textual changes: error messages and comments by Andrian + attribution --- client/cmdhf15.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 4a781121..708bacdd 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -1,6 +1,8 @@ //----------------------------------------------------------------------------- // Copyright (C) 2010 iZsh // Modified 2010 by +// Modified 2010, 2011 by +// Modified 2012 by // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of @@ -578,6 +580,7 @@ int prepareHF15Cmd(char **cmd, UsbCommand *c, uint8_t iso15cmd[], int iso15cmdle reqlen+=iso15cmdlen; break; case '*': + // we scan for the UID ourself req[reqlen++]|= ISO15_REQ_SUBCARRIER_SINGLE | ISO15_REQ_DATARATE_HIGH | ISO15_REQ_NONINVENTORY | ISO15_REQ_ADDRESS; memcpy(&req[reqlen],&iso15cmd[0],iso15cmdlen); @@ -869,7 +872,7 @@ int CmdHF15CmdWrite(const char *Cmd) { PrintAndLog("CRC failed"); } } else { - PrintAndLog("no answer"); + PrintAndLog("timeout: no answer - data may be written anyway"); } return 0; -- 2.39.2