mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
TLV decoding works
This commit is contained in:
parent
78a94ff902
commit
a2bb2735d5
11 changed files with 1121 additions and 2 deletions
|
@ -688,8 +688,8 @@ int CmdHF14AAPDU(const char *cmd) {
|
|||
PrintAndLog("APDU response: %02x %02x - %s", data[datalen - 2], data[datalen - 1], GetAPDUCodeDescription(data[datalen - 2], data[datalen - 1]));
|
||||
|
||||
// here TLV decoder...
|
||||
if (decodeTLV) {
|
||||
PrintAndLog("--- TLV decoded:");
|
||||
if (decodeTLV && datalen > 4) {
|
||||
TLVPrintFromBuffer(data, datalen - 2);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue