added more keys (@equipter)
[RRG-proxmark3.git] / tools / mf_nonce_brute / protocol.h
blob1eda479864a94bc73ca37cdf4a0fb7cbcc4db073
1 #ifndef PROTOCOL_H
2 #define PROTOCOL_H
4 #define ISO14443A_CMD_READBLOCK 0x30
5 #define ISO14443A_CMD_WRITEBLOCK 0xA0
7 #define MIFARE_AUTH_KEYA 0x60
8 #define MIFARE_AUTH_KEYB 0x61
9 #define MIFARE_CMD_DEC 0xC0
10 #define MIFARE_CMD_INC 0xC1
11 #define MIFARE_CMD_RESTORE 0xC2
12 #define MIFARE_CMD_TRANSFER 0xB0
14 // mifare 4bit card answers
15 #define CARD_ACK 0x0A // 1010 - ACK
16 #define CARD_NACK_NA 0x04 // 0100 - NACK, not allowed (command not allowed)
17 #define CARD_NACK_TR 0x05 // 0101 - NACK, transmission error
19 #endif
20 // PROTOCOL_H