mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
textual
This commit is contained in:
parent
005fddfe6d
commit
d5f8202284
1 changed files with 6 additions and 3 deletions
|
@ -1075,10 +1075,11 @@ static int ndefRecordDecodeAndPrint(uint8_t *ndefRecord, size_t ndefRecordLen, b
|
||||||
return res;
|
return res;
|
||||||
|
|
||||||
ndefPrintHeader(&NDEFHeader, verbose);
|
ndefPrintHeader(&NDEFHeader, verbose);
|
||||||
|
|
||||||
|
if (verbose) {
|
||||||
PrintAndLogEx(INFO, "");
|
PrintAndLogEx(INFO, "");
|
||||||
PrintAndLogEx(INFO, _CYAN_("Payload info"));
|
PrintAndLogEx(INFO, _CYAN_("Payload info"));
|
||||||
|
|
||||||
if (verbose) {
|
|
||||||
if (NDEFHeader.TypeLen) {
|
if (NDEFHeader.TypeLen) {
|
||||||
PrintAndLogEx(INFO, "Type data");
|
PrintAndLogEx(INFO, "Type data");
|
||||||
print_buffer(NDEFHeader.Type, NDEFHeader.TypeLen, 1);
|
print_buffer(NDEFHeader.Type, NDEFHeader.TypeLen, 1);
|
||||||
|
@ -1229,7 +1230,9 @@ int NDEFDecodeAndPrint(uint8_t *ndef, size_t ndefLen, bool verbose) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 0xFE: {
|
case 0xFE: {
|
||||||
|
if (verbose) {
|
||||||
PrintAndLogEx(SUCCESS, "NDEF Terminator detected");
|
PrintAndLogEx(SUCCESS, "NDEF Terminator detected");
|
||||||
|
}
|
||||||
return PM3_SUCCESS;
|
return PM3_SUCCESS;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue