Skip to content

Commit 6df95a2

Browse files
committed
ident a payment card
1 parent f489586 commit 6df95a2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

client/src/cmdhf14a.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2435,7 +2435,7 @@ static int detect_nxp_card_print(uint8_t sak, uint16_t atqa, uint64_t select_sta
24352435
if (atqa == 0x0004 || atqa == 0x0048) {
24362436
printTag("EMV");
24372437
type |= MTEMV;
2438-
}
2438+
}
24392439
}
24402440
}
24412441
}
@@ -2730,6 +2730,12 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
27302730
case 0x02: { // ST
27312731
isST = true;
27322732
isMifareClassic = false;
2733+
2734+
uint16_t atqa = MemLeToUint2byte(card.atqa);
2735+
if (atqa == 0x0044) {
2736+
printTag("EMV");
2737+
isEMV = true;
2738+
}
27332739
break;
27342740
}
27352741
case 0x04: { // NXP

0 commit comments

Comments
 (0)