Added support for Legic tags to hf search command (#815)

* hf legic: use CMD_ACK instead of Dbprintf
* hf search: add support for Legic tags
This commit is contained in:
András Veres-Szentkirályi 2019-04-12 08:52:18 +02:00 committed by pwpiwi
commit bad582468f
4 changed files with 26 additions and 7 deletions

View file

@ -66,6 +66,11 @@ int CmdHFSearch(const char *Cmd){
PrintAndLog("\nValid ISO14443B Tag Found - Quiting Search\n");
return ans;
}
ans = CmdLegicRFRead("");
if (ans == 0) {
PrintAndLog("\nValid Legic Tag Found - Quiting Search\n");
return ans;
}
PrintAndLog("\nno known/supported 13.56 MHz tags found\n");
return 0;
}