This commit is contained in:
iceman1001 2021-02-28 10:29:40 +01:00
parent 72ff81c80f
commit cb97b67cc5
2 changed files with 2 additions and 2 deletions

View file

@ -311,7 +311,7 @@ int applyIso14443a(char *exp, size_t size, uint8_t *cmd, uint8_t cmdsize) {
case MIFARE_ULNANO_WRITESIG:
snprintf(exp, size, "WRITE SIG");
break;
case MIFARE_ULNANO_LOCKSIF: {
case MIFARE_ULNANO_LOCKSIG: {
if (cmd[1] == 0)
snprintf(exp, size, "UNLOCK SIG");
else if (cmd[1] == 2)

View file

@ -188,7 +188,7 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
// New Mifare UL Nano commands. Ref:: (https://www.nxp.com/docs/en/data-sheet/MF0UN_H_00.pdf)
#define MIFARE_ULNANO_WRITESIG 0xA9
#define MIFARE_ULNANO_LOCKSIF 0xAC
#define MIFARE_ULNANO_LOCKSIG 0xAC
// mifare 4bit card answers
#define CARD_ACK 0x0A // 1010 - ACK