New str_nfc_target() function in API.

This allow to convert a nfc_target struct into allocated string.
This commit is contained in:
Romuald Conty 2012-09-17 13:47:54 +00:00
parent 82e3416619
commit 310d7eba07
13 changed files with 726 additions and 622 deletions

View file

@ -556,7 +556,7 @@ main(int argc, const char *argv[])
}
}
printf("Found MIFARE Classic card:\n");
print_nfc_iso14443a_info(nt.nti.nai, false);
print_nfc_target(nt, false);
// Guessing size
if ((nt.nti.nai.abtAtqa[1] & 0x02) == 0x02)