mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 21:33:19 -07:00
add lf securakey
still unknown - checksum and how FC relates to printed FC/Code also removed noralsy extra ST check (i was tired...)
This commit is contained in:
parent
199c74a47f
commit
c3caf0409c
5 changed files with 177 additions and 10 deletions
|
@ -111,17 +111,13 @@ int NoralsyDemod_AM(uint8_t *dest, size_t *size) {
|
|||
int CmdNoralsyDemod(const char *Cmd) {
|
||||
|
||||
//ASK / Manchester
|
||||
DemodBufferLen = getFromGraphBuf(DemodBuffer);
|
||||
if (DemodBufferLen < 255) return 0;
|
||||
int foundclk = 0;
|
||||
size_t ststart = 0, stend = 0;
|
||||
bool st = DetectST_ext(DemodBuffer, &DemodBufferLen, &foundclk, &ststart, &stend);
|
||||
if (!st) return 0;
|
||||
|
||||
bool st = false;
|
||||
if (!ASKDemod_ext("32 0 0", false, false, 1, &st)) {
|
||||
if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: ASK/Manchester Demod failed");
|
||||
return 0;
|
||||
}
|
||||
if (!st) return 0;
|
||||
|
||||
size_t size = DemodBufferLen;
|
||||
int ans = NoralsyDemod_AM(DemodBuffer, &size);
|
||||
if (ans < 0){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue