hf 14a info: tells when no ATS but SAK pretends 14a-4

This commit is contained in:
Philippe Teuwen 2020-10-05 22:33:08 +02:00
commit 8691d3b77f

View file

@ -1968,6 +1968,9 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
} }
} else { } else {
PrintAndLogEx(INFO, "proprietary non iso14443-4 card found, RATS not supported"); PrintAndLogEx(INFO, "proprietary non iso14443-4 card found, RATS not supported");
if ((card.sak & 0x20) == 0x20) {
PrintAndLogEx(INFO, "SAK incorrectly claims that card supports RATS");
}
} }
int isMagic = 0; int isMagic = 0;