X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b97311b1bde85d0aa388085e9a5747ac4da680d5..605524b13138467a83fa870d284a9fbc9e133eff:/client/cmdlft55xx.c diff --git a/client/cmdlft55xx.c b/client/cmdlft55xx.c index 72345c9d..7999880c 100644 --- a/client/cmdlft55xx.c +++ b/client/cmdlft55xx.c @@ -141,15 +141,16 @@ int usage_t55xx_detect(){ return 0; } int usage_t55xx_detectP1(){ - PrintAndLog("Usage: lf t55xx page1detect [1] [p ]"); + PrintAndLog("Command: Detect Page 1 of a t55xx chip"); + PrintAndLog("Usage: lf t55xx p1detect [1] [p ]"); PrintAndLog("Options:"); PrintAndLog(" 1 - if set, use Graphbuffer otherwise read data from tag."); PrintAndLog(" p - OPTIONAL password (8 hex characters)"); PrintAndLog(""); PrintAndLog("Examples:"); - PrintAndLog(" lf t55xx page1detect"); - PrintAndLog(" lf t55xx page1detect 1"); - PrintAndLog(" lf t55xx page1detect p 11223344"); + PrintAndLog(" lf t55xx p1detect"); + PrintAndLog(" lf t55xx p1detect 1"); + PrintAndLog(" lf t55xx p1detect p 11223344"); PrintAndLog(""); return 0; } @@ -570,7 +571,7 @@ bool tryDetectModulation(){ } } clk = GetNrzClock("", false, false); - if (clk>0) { + if (clk>8) { //clock of rf/8 is likely a false positive, so don't use it. if ( NRZrawDemod("0 0 1", false) && test(DEMOD_NRZ, &tests[hits].offset, &bitRate, clk, &tests[hits].Q5)) { tests[hits].modulation = DEMOD_NRZ; tests[hits].bitrate = bitRate;