Add LF ASK Sequence Terminator detection...

...and demodulate data beginning after the first ST
also add some type casts in print calls.
This commit is contained in:
marshmellow42 2016-02-16 12:49:30 -05:00
commit d1869c3336
8 changed files with 238 additions and 37 deletions

View file

@ -1193,7 +1193,8 @@ int CmdLFfind(const char *Cmd)
return 1;
}
}
ans=ASKDemod("0 0 0",TRUE,FALSE,1);
bool st = TRUE;
ans=ASKDemod_ext("0 0 0",TRUE,FALSE,1,&st);
if (ans>0) {
PrintAndLog("\nUnknown ASK Modulated and Manchester encoded Tag Found!");
PrintAndLog("\nif it does not look right it could instead be ASK/Biphase - try 'data rawdemod ab'");