X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c5f8c67ab472defdab1331e2baffb3ab8049867f..274e7dd11065fd33863496f6a2aa03ca3e55e06b:/common/protocols.h diff --git a/common/protocols.h b/common/protocols.h index 2de52b4d..e676cbfe 100644 --- a/common/protocols.h +++ b/common/protocols.h @@ -148,6 +148,10 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. #define MIFARE_CMD_RESTORE 0xC2 #define MIFARE_CMD_TRANSFER 0xB0 +#define MIFARE_EV1_PERSONAL_UID 0x40 +#define MIFARE_EV1_SETMODE 0x43 + + #define MIFARE_ULC_WRITE 0xA2 //#define MIFARE_ULC__COMP_WRITE 0xA0 #define MIFARE_ULC_AUTH_1 0x1A @@ -162,6 +166,8 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. #define MIFARE_ULEV1_CHECKTEAR 0x3E #define MIFARE_ULEV1_VCSL 0x4B + + /** 06 00 = INITIATE 0E xx = SELECT ID (xx = Chip-ID) @@ -259,5 +265,6 @@ ISO 7816-4 Basic interindustry commands. For command APDU's. // 6x xx = ERROR void printIclassDumpInfo(uint8_t* iclass_dump); +void getMemConfig(uint8_t mem_cfg, uint8_t chip_cfg, uint8_t *max_blk, uint8_t *app_areas, uint8_t *kb); #endif // PROTOCOLS_H