X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bb73c58d9a5501426646b8fcfff87331ea3312a6..f7c1147ab81009cd48b5e28f70dc57c84f6fa2d0:/client/cmdlfnedap.c?ds=sidebyside diff --git a/client/cmdlfnedap.c b/client/cmdlfnedap.c index 52cc7359..8f5832ad 100644 --- a/client/cmdlfnedap.c +++ b/client/cmdlfnedap.c @@ -202,7 +202,7 @@ lf t55xx wr b 4 d 4c0003ff int CmdLFNedapRead(const char *Cmd) { CmdLFRead("s"); - getSamples("20000", TRUE); + getSamples("12000", TRUE); return CmdLFNedapDemod(""); } /* @@ -229,11 +229,11 @@ int CmdLFNedapClone(const char *Cmd) { ((ASK/DIphase data rawdemod ab 0 64 1 0 //NEDAP - compat mode, ASK/DIphase, data rate 64, 4 data blocks // DI-pahse (CDP) T55x7_MODULATION_DIPHASE - blocks[0] = T55x7_MODULATION_DIPHASE | T55x7_BITRATE_RF_64 | 7<>1) << T5555_BITRATE_SHIFT | 7 <=0; --i){ + for (int i =len; i >= 0; --i){ al = data[i]; for (int j = 8; j > 0; --j) { @@ -340,7 +340,7 @@ int CmdLFNedapChk(const char *Cmd){ } } - PrintAndLog("Nedap checksum: [ 0x21, 0xBE ] %x", ((ch << 8) | cl) ); + PrintAndLog("Nedap checksum: 0x%X", ((ch << 8) | cl) ); return 0; }