]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - common/protocols.h
I just merged @marshmellow's branch "iclass" and that was a lot of new functionality...
[proxmark3-svn] / common / protocols.h
index 2de52b4d42e49ab29310bdd290f72cd6ca1811a2..e676cbfe59837568bcfc1a97ce7ee54b7d30454d 100644 (file)
@@ -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
Impressum, Datenschutz