X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d62f7bad201ecb4f867d9aa262d257e82b744a80..ac37ee816b0f00a5d02d9a860dc6180f71132675:/include/smartcard.h?ds=sidebyside diff --git a/include/smartcard.h b/include/smartcard.h index 9bed8c9d..161c6f6d 100644 --- a/include/smartcard.h +++ b/include/smartcard.h @@ -10,19 +10,22 @@ #ifndef __SMARTCARD_H #define __SMARTCARD_H +#include + //----------------------------------------------------------------------------- // ISO 7618 Smart Card //----------------------------------------------------------------------------- typedef struct { uint8_t atr_len; - uint8_t atr[30]; + uint8_t atr[34]; } __attribute__((__packed__)) smart_card_atr_t; typedef enum SMARTCARD_COMMAND { SC_CONNECT = (1 << 0), SC_NO_DISCONNECT = (1 << 1), SC_RAW = (1 << 2), - SC_NO_SELECT = (1 << 3) + SC_SELECT = (1 << 3), + SC_RAW_T0 = (1 << 4) } smartcard_command_t;