mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
desfire supports 7 and 4 bytes
This commit is contained in:
parent
420b29c7bf
commit
014a3a4998
1 changed files with 0 additions and 7 deletions
|
@ -148,13 +148,6 @@ void MifareDesfireGetInformation(void) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (card.uidlen != 7) {
|
|
||||||
if (DBGLEVEL >= DBG_ERROR) Dbprintf("Wrong UID size. Expected 7byte got %d", card.uidlen);
|
|
||||||
payload.isOK = 2; // 2 == WRONG UID
|
|
||||||
reply_ng(CMD_HF_DESFIRE_INFO, PM3_ESOFT, (uint8_t *)&payload, sizeof(payload));
|
|
||||||
switch_off();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// add uid.
|
// add uid.
|
||||||
memcpy(payload.uid, card.uid, sizeof(payload.uid));
|
memcpy(payload.uid, card.uid, sizeof(payload.uid));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue