ADD: 'hf 14a read' - correct identify Aztek tags, instead of claiming it to be "not mfu".

This commit is contained in:
iceman1001 2017-02-04 12:32:14 +01:00
parent 52108cabf3
commit cf5a79de33
2 changed files with 3 additions and 1 deletions

View file

@ -221,6 +221,8 @@ int CmdHF14AReader(const char *Cmd) {
uint32_t tagT = GetHF14AMfU_Type(); uint32_t tagT = GetHF14AMfU_Type();
if (tagT != UL_ERROR) if (tagT != UL_ERROR)
ul_print_type(tagT, 0); ul_print_type(tagT, 0);
else
PrintAndLog("TYPE: Possible AZTEK (iso14443a compliant)");
// reconnect for further tests // reconnect for further tests
c.arg[0] = ISO14A_CONNECT | ISO14A_NO_DISCONNECT; c.arg[0] = ISO14A_CONNECT | ISO14A_NO_DISCONNECT;

View file

@ -646,7 +646,7 @@ uint32_t GetHF14AMfU_Type(void){
// Ultralight - ATQA / SAK // Ultralight - ATQA / SAK
if ( card.atqa[1] != 0x00 || card.atqa[0] != 0x44 || card.sak != 0x00 ) { if ( card.atqa[1] != 0x00 || card.atqa[0] != 0x44 || card.sak != 0x00 ) {
PrintAndLog("Tag is not Ultralight | NTAG | MY-D [ATQA: %02X %02X SAK: %02X]\n", card.atqa[1], card.atqa[0], card.sak); //PrintAndLog("Tag is not Ultralight | NTAG | MY-D [ATQA: %02X %02X SAK: %02X]\n", card.atqa[1], card.atqa[0], card.sak);
ul_switch_off_field(); ul_switch_off_field();
return UL_ERROR; return UL_ERROR;
} }