Examples: more ISO14443A info decoding & verbose mode for nfc-list
This commit is contained in:
parent
f249af6266
commit
2b24a0a7f5
10 changed files with 366 additions and 98 deletions
|
|
@ -249,7 +249,7 @@ main (int argc, char *argv[])
|
|||
}
|
||||
|
||||
printf("Found tag:\n");
|
||||
print_nfc_iso14443a_info (ntRealTarget.nti.nai);
|
||||
print_nfc_iso14443a_info (ntRealTarget.nti.nai, false);
|
||||
if (initiator_only_mode) {
|
||||
if (print_hex_fd4(ntRealTarget.nti.nai.abtUid, ntRealTarget.nti.nai.szUidLen, "UID") != EXIT_SUCCESS) {
|
||||
fprintf (stderr, "Error while printing UID to FD4\n");
|
||||
|
|
@ -340,7 +340,7 @@ main (int argc, char *argv[])
|
|||
memcpy(&(ntEmulatedTarget.nti.nai.abtAts[4]), pbtTkt, szTk);
|
||||
|
||||
printf("We will emulate:\n");
|
||||
print_nfc_iso14443a_info (ntEmulatedTarget.nti.nai);
|
||||
print_nfc_iso14443a_info (ntEmulatedTarget.nti.nai, false);
|
||||
|
||||
// Try to open the NFC emulator device
|
||||
pndTarget = nfc_connect (&(pnddDevices[0]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue