projects
/
proxmark3-svn
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix iso14a_set_timeout() adjustment
[proxmark3-svn]
/
client
/
cmdlfsecurakey.c
diff --git
a/client/cmdlfsecurakey.c
b/client/cmdlfsecurakey.c
index 1e3899db0732f76cb788724a25f402a374fc1ef5..8ae81250fb06fb3b995ec048d937291b9eabb099 100644
(file)
--- a/
client/cmdlfsecurakey.c
+++ b/
client/cmdlfsecurakey.c
@@
-5,7
+5,7
@@
// the license.
//-----------------------------------------------------------------------------
// Low frequency Securakey tag commands
// the license.
//-----------------------------------------------------------------------------
// Low frequency Securakey tag commands
-// ASK/Manchester, RF/40, 96 bits long
+// ASK/Manchester, RF/40, 96 bits long
(unknown cs)
//-----------------------------------------------------------------------------
#include "cmdlfsecurakey.h"
#include <string.h>
//-----------------------------------------------------------------------------
#include "cmdlfsecurakey.h"
#include <string.h>
@@
-44,7
+44,7
@@
int CmdSecurakeyDemod(const char *Cmd) {
//ASK / Manchester
bool st = false;
if (!ASKDemod_ext("40 0 0", false, false, 1, &st)) {
//ASK / Manchester
bool st = false;
if (!ASKDemod_ext("40 0 0", false, false, 1, &st)) {
- if (g_debugMode) PrintAndLog("DEBUG: Error -
Norals
y: ASK/Manchester Demod failed");
+ if (g_debugMode) PrintAndLog("DEBUG: Error -
Securake
y: ASK/Manchester Demod failed");
return 0;
}
if (st) return 0;
return 0;
}
if (st) return 0;
@@
-64,7
+64,7
@@
int CmdSecurakeyDemod(const char *Cmd) {
return 0;
}
setDemodBuf(DemodBuffer, 96, ans);
return 0;
}
setDemodBuf(DemodBuffer, 96, ans);
-
//setGrid_Clock(40
);
+
setClockGrid(g_DemodClock, g_DemodStartIdx + (ans*g_DemodClock)
);
//got a good demod
uint32_t raw1 = bytebits_to_byte(DemodBuffer , 32);
//got a good demod
uint32_t raw1 = bytebits_to_byte(DemodBuffer , 32);
@@
-123,8
+123,7
@@
int CmdSecurakeyDemod(const char *Cmd) {
}
int CmdSecurakeyRead(const char *Cmd) {
}
int CmdSecurakeyRead(const char *Cmd) {
- CmdLFRead("s");
- getSamples("8000",true);
+ lf_read(true, 8000);
return CmdSecurakeyDemod(Cmd);
}
return CmdSecurakeyDemod(Cmd);
}
Impressum
,
Datenschutz