the ndef printing is now more dense and it honors verbose output

This commit is contained in:
iceman1001 committed 2022-10-23 02:59:27 +02:00
1 parent 69fd1ac889
commit 2627f3b3b9
11 files changed
+130 -97

No files matched your search

+2 -2
View File
@@ -114,7 +114,7 @@ static int CmdNfcDecode(const char *Cmd) {
res = NDEFDecodeAndPrint(dump, bytes_read, verbose);
if (res != PM3_SUCCESS) {
PrintAndLogEx(INFO, "Trying to parse NDEF records w/o NDEF header");
res = NDEFRecordsDecodeAndPrint(dump, bytes_read);
res = NDEFRecordsDecodeAndPrint(dump, bytes_read, verbose);
}
free(dump);
@@ -123,7 +123,7 @@ static int CmdNfcDecode(const char *Cmd) {
res = NDEFDecodeAndPrint(data, datalen, verbose);
if (res != PM3_SUCCESS) {
PrintAndLogEx(INFO, "Trying to parse NDEF records w/o NDEF header");
res = NDEFRecordsDecodeAndPrint(data, datalen);
res = NDEFRecordsDecodeAndPrint(data, datalen, verbose);
}
}
return res;