]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/emv/emv_tags.h
small refactoring
[proxmark3-svn] / client / emv / emv_tags.h
index 8dbd9e00a92cb29e1266260dde1ca8835f8466a6..f6d44f0150c989c5b71b1650a026997b5df0fa4b 100644 (file)
 #include "tlv.h"
 #include <stdio.h>
 
+// AC
+# define EMVAC_AC_MASK   0xC0
+# define EMVAC_AAC       0x00
+# define EMVAC_TC        0x40
+# define EMVAC_ARQC      0x80
+# define EMVAC_CDAREQ    0x10
+
+// CID
+# define EMVCID_ADVICE       0x08
+# define EMVCID_REASON_MASK  0x07
+
 bool emv_tag_dump(const struct tlv *tlv, FILE *f, int level);
 
 #endif
Impressum, Datenschutz