CHG: 'lf cotag demod' - now finds FC/CN Thanks to @marshmellow42

CHG:  'lf search' - now detects COTAG
This commit is contained in:
iceman1001 2017-02-02 19:15:36 +01:00
commit a330987de1
6 changed files with 59 additions and 27 deletions

View file

@ -1116,6 +1116,14 @@ int CmdLFfind(const char *Cmd) {
PrintAndLog("\nValid Presco ID Found!");
return 1;
}
// ICEMAN; always call save_restorGB for COTAG. Will break graphbuffer
save_restoreGB(1)
ans=CmdCOTAGRead("");
if (ans>0){
PrintAndLog("\nValid COTAG ID Found!");
return 1;
}
save_restoreGB(0)
// TIdemod?
/*
@ -1126,7 +1134,6 @@ int CmdLFfind(const char *Cmd) {
}
}
*/
PrintAndLog("\nNo Known Tags Found!\n");
if (testRaw=='u' || testRaw=='U'){
//test unknown tag formats (raw mode)