projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'graphwork2' into graphwork
[proxmark3-svn]
/
client
/
cmdlffdx.c
diff --git
a/client/cmdlffdx.c
b/client/cmdlffdx.c
index a603a4d27bd8f52e200d80d40829169b5d4dad1a..234db59fbb2583a2ff2bd27879abb5bb7d16db14 100644
(file)
--- a/
client/cmdlffdx.c
+++ b/
client/cmdlffdx.c
@@
-5,6
+5,7
@@
// the license.
//-----------------------------------------------------------------------------
// Low frequency fdx-b tag commands
// the license.
//-----------------------------------------------------------------------------
// Low frequency fdx-b tag commands
+// Differential Biphase, rf/32, 128 bits (known)
//-----------------------------------------------------------------------------
#include "cmdlffdx.h"
//-----------------------------------------------------------------------------
#include "cmdlffdx.h"
@@
-158,6
+159,8
@@
int CmdFdxDemod(const char *Cmd){
// set and leave DemodBuffer intact
setDemodBuf(DemodBuffer, 128, preambleIndex);
// set and leave DemodBuffer intact
setDemodBuf(DemodBuffer, 128, preambleIndex);
+ setClockGrid(g_DemodClock, g_DemodStartIdx + (preambleIndex*g_DemodClock));
+
uint8_t bits_no_spacer[117];
memcpy(bits_no_spacer, DemodBuffer + 11, 117);
uint8_t bits_no_spacer[117];
memcpy(bits_no_spacer, DemodBuffer + 11, 117);
@@
-203,8
+206,7
@@
int CmdFdxDemod(const char *Cmd){
}
int CmdFdxRead(const char *Cmd) {
}
int CmdFdxRead(const char *Cmd) {
- CmdLFRead("s");
- getSamples("10000", true);
+ lf_read(true, 10000);
return CmdFdxDemod(Cmd);
}
return CmdFdxDemod(Cmd);
}
Impressum
,
Datenschutz