proxmark3
proxmark3 copied to clipboard
FM11NT021 Compatible NTAG213 tag is not detected
FUDAN FM11NT021 its compatibility with the NXP Ntag 213.
The Proxmark3 detected this tag as NTAG203 due to the FM11NT021 does not have 0x60
GET_VERSION
Command.
I did some work around, by check the page 44 in GetHF14AMfU_Type
function. (203 does not has page 44, but 213 has.)
// need to re-select after authentication error
if (ul_select(&card) == false) {
return MFU_TT_UL_ERROR;
}
uint8_t data[16] = {0x00};
// read page 0x26-0x29 (last valid ntag203 page)
status = ul_read(0x26, data, sizeof(data));
if (status <= 1) {
tagtype = MFU_TT_UL;
} else {
// read page 0x30 (should error if it is a ntag203)
status = ul_read(0x30, data, sizeof(data));
if (status <= 1) {
// check page 44 for fudan ntag213.
status = ul_read(0x2C, data, sizeof(data));
if (status <= 1) {
tagtype = MFU_TT_NTAG_213;
}else {
tagtype = MFU_TT_NTAG_203;
}
} else {
tagtype = MFU_TT_UNKNOWN;
}
}