This commit is contained in:
iceman1001
2026-03-29 09:39:42 +07:00
parent b54c06a463
commit 5d89180815
2 changed files with 16 additions and 6 deletions
+15 -5
View File
@@ -424,16 +424,26 @@ static const char *getProductTypeStr(const uint8_t *versionhw) {
uint8_t product = versionhw[1];
if (product == 0x01)
if (product == 0x01) {
return "MIFARE DESFire native IC (physical card)";
if (product == 0x08)
}
if (product == 0x08) {
return "MIFARE DESFire Light native IC (physical card)";
if (product == 0x81 || product == 0x83)
}
if (product == 0x81 || product == 0x83) {
return "MIFARE DESFire implementation on microcontroller (physical card)";
if (product == 0x91)
}
if (product == 0x91) {
return "MIFARE DESFire applet on Java card / secure element";
if (product == 0xA1)
}
if (product == 0xA1) {
return "MIFARE DESFire HCE (MIFARE 2GO)";
}
return "UNKNOWN PROD";
}
+1 -1
View File
@@ -49,7 +49,7 @@ typedef enum {
DUOX,
} nxp_cardtype_t;
typedef struct {
typedef struct mfdes_info_res {
uint8_t isOK;
uint8_t uid[7];
uint8_t uidlen;