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

@ -159,7 +159,7 @@ main(int argc, const char *argv[])
goto error;
} else if (res == 1) {
printf("The following ISO14443A tag (SAM) was found:\n");
print_nfc_iso14443a_info(nt.nti.nai, true);
print_nfc_target(nt, true);
} else {
ERR("%s", "More than one ISO14442 tag found as SAM.");
goto error;