]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - include/smartcard.h
Merge pull request #837 from mwalker33/master
[proxmark3-svn] / include / smartcard.h
index 2f6e286c91cbf7e2ba5c164385208a6bbb504943..161c6f6d6d47772d3fc88f9abf5711142daa8c5b 100644 (file)
 #ifndef __SMARTCARD_H
 #define __SMARTCARD_H
 
 #ifndef __SMARTCARD_H
 #define __SMARTCARD_H
 
+#include <stdint.h>
+
 //-----------------------------------------------------------------------------
 // ISO 7618  Smart Card 
 //-----------------------------------------------------------------------------
 typedef struct {
        uint8_t atr_len;
 //-----------------------------------------------------------------------------
 // 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),
 } __attribute__((__packed__)) smart_card_atr_t;
 
 typedef enum SMARTCARD_COMMAND {
        SC_CONNECT =       (1 << 0),
        SC_NO_DISCONNECT = (1 << 1),
        SC_RAW =           (1 << 2),
-       SC_SELECT =        (1 << 3)
+       SC_SELECT =        (1 << 3),
+       SC_RAW_T0 =            (1 << 4)
 } smartcard_command_t;
 
 
 } smartcard_command_t;
 
 
Impressum, Datenschutz