X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/6fc68747f68c47b65215013545c7c551105a366a..4ccdc189bdf814137a8023397f7bf89b707b0465:/include/usb_cmd.h diff --git a/include/usb_cmd.h b/include/usb_cmd.h index 2fd00ad9..ae9d15c2 100644 --- a/include/usb_cmd.h +++ b/include/usb_cmd.h @@ -13,14 +13,14 @@ #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 -#include -#include -#define PACKED __attribute__((packed)) + #include + #include + #define PACKED __attribute__((packed)) #endif #define USB_CMD_DATA_SIZE 512 @@ -217,10 +217,12 @@ typedef struct{ //Mifare simulation flags -#define FLAG_INTERACTIVE 0x01 -#define FLAG_4B_UID_IN_DATA 0x02 -#define FLAG_7B_UID_IN_DATA 0x04 -#define FLAG_NR_AR_ATTACK 0x08 +#define FLAG_INTERACTIVE 0x01 +#define FLAG_4B_UID_IN_DATA 0x02 +#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 0x20 //Iclass reader flags