fix iso15693 output in hf search

This commit is contained in:
iceman1001 2024-02-17 14:20:52 +01:00
commit 6466ce4e6d
2 changed files with 3 additions and 2 deletions

View file

@ -188,8 +188,8 @@ int CmdHFSearch(const char *Cmd) {
PROMPT_CLEARLINE;
PrintAndLogEx(INPLACE, " Searching for ISO15693 tag...");
if (IfPm3Iso15693()) {
if (readHF15Uid(false, false)) {
PrintAndLogEx(SUCCESS, "\nValid " _GREEN_("ISO 15693 tag") " found\n");
if (readHF15Uid(false, true)) {
PrintAndLogEx(SUCCESS, "Valid " _GREEN_("ISO 15693 tag") " found\n");
success[ISO_15693] = true;
res = PM3_SUCCESS;
}

View file

@ -491,6 +491,7 @@ static int getUID(bool verbose, bool loop, uint8_t *buf) {
}
if (verbose) {
PrintAndLogEx(NORMAL, "");
PrintAndLogEx(SUCCESS, "UID.... " _GREEN_("%s"), iso15693_sprintUID(NULL, buf));
PrintAndLogEx(SUCCESS, "TYPE... " _YELLOW_("%s"), getTagInfo_15(buf));
PrintAndLogEx(NORMAL, "");