text
This commit is contained in:
1 parent
b54c06a463
commit
5d89180815
2 files changed
+16
-6
No files matched your search
+15
-5
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user