X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/cf4640b973d72d184d5a782cb63379e02c53c5bc..2deb4b6b46ac7210984f5b3a6fc4c45b33ee8aea:/client/cmdlfio.c diff --git a/client/cmdlfio.c b/client/cmdlfio.c index 626fe639..be8cf25e 100644 --- a/client/cmdlfio.c +++ b/client/cmdlfio.c @@ -1,8 +1,19 @@ +//----------------------------------------------------------------------------- +// +// 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 +// the license. +//----------------------------------------------------------------------------- +// Low frequency ioProx commands +// FSK2a, rf/64, 64 bits (complete) +//----------------------------------------------------------------------------- + #include #include #include #include #include +#include "cmdlfio.h" #include "proxmark3.h" #include "data.h" #include "graph.h" @@ -108,6 +119,8 @@ int CmdFSKdemodIO(const char *Cmd) PrintAndLog("IO Prox XSF(%02d)%02x:%05d (%08x%08x) [%02x %s]",version,facilitycode,number,code,code2, crc, crcStr); setDemodBuf(BitStream,64,idx); + setClockGrid(g_DemodClock, g_DemodStartIdx + (idx*g_DemodClock)); + if (g_debugMode){ PrintAndLog("DEBUG: idx: %d, Len: %d, Printing demod buffer:",idx,64); printDemodBuff();