]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/usb_cmd.h
CHG: output when finding key it the same as from the client.
[proxmark3-svn] / include / usb_cmd.h
index 19618e957b64e0000b8d78ceec0d05042b1f14e8..ae9d15c289a95630a2c26e8fccb6fa290ee5b3bd 100644 (file)
 #ifndef __USB_CMD_H
 #define __USB_CMD_H
 #ifdef _MSC_VER
 #ifndef __USB_CMD_H
 #define __USB_CMD_H
 #ifdef _MSC_VER
-typedef DWORD uint32_t;
-typedef BYTE uint8_t;
-#define PACKED
-// stuff
+   typedef DWORD uint32_t;
+   typedef BYTE uint8_t;
+   #define PACKED
+   // stuff
 #else
 #else
-#include <stdint.h>
-#include <stdbool.h>
-#define PACKED __attribute__((packed))
+  #include <stdint.h>
+  #include <stdbool.h>
+  #define PACKED __attribute__((packed))
 #endif
 
 #define USB_CMD_DATA_SIZE 512
 #endif
 
 #define USB_CMD_DATA_SIZE 512
@@ -222,7 +222,7 @@ typedef struct{
 #define FLAG_7B_UID_IN_DATA    0x04
 #define FLAG_10B_UID_IN_DATA   0x08
 #define FLAG_UID_IN_EMUL               0x10
 #define FLAG_7B_UID_IN_DATA    0x04
 #define FLAG_10B_UID_IN_DATA   0x08
 #define FLAG_UID_IN_EMUL               0x10
-#define FLAG_NR_AR_ATTACK              0x12
+#define FLAG_NR_AR_ATTACK              0x20
 
 
 //Iclass reader flags
 
 
 //Iclass reader flags
Impressum, Datenschutz