]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifaresniff.h
Code tidy
[proxmark3-svn] / armsrc / mifaresniff.h
index 22daffee7b04ec74247b493c99addeb9088e4859..b181f982c6f58b43a10877e061a46b40ddb3f725 100644 (file)
 #ifndef __MIFARESNIFF_H\r
 #define __MIFARESNIFF_H\r
 \r
-#include "proxmark3.h"\r
-#include "apps.h"\r
+#include <stdint.h>\r
+#include <stdbool.h>\r
 #include "util.h"\r
-#include "string.h"\r
-\r
-#include "iso14443crc.h"\r
-#include "iso14443a.h"\r
-#include "crapto1.h"\r
-#include "mifareutil.h"\r
-#include "common.h"\r
 \r
 #define SNF_INIT                               0\r
-#define SNF_NO_FIELD           1\r
-#define SNF_WUPREQ                     2\r
+#define SNF_NO_FIELD                   1\r
+#define SNF_WUPREQ                             2\r
 #define SNF_ATQA                               3\r
-#define SNF_ANTICOL1           4\r
+#define SNF_ANTICOL1                   4\r
 #define SNF_UID1                               5\r
-#define SNF_ANTICOL2           6\r
+#define SNF_ANTICOL2                   6\r
 #define SNF_UID2                               7\r
 #define SNF_SAK                                        8\r
-#define SNF_CARD_IDLE          9\r
-#define SNF_CARD_CMD           10\r
-#define SNF_CARD_RESP          11\r
+#define SNF_CARD_IDLE                  9\r
+#define SNF_CARD_CMD                   10\r
+#define SNF_CARD_RESP                  11\r
+#define SNF_MAGIC_WUPC2                        12\r
 \r
 #define SNF_UID_4                              0\r
 #define SNF_UID_7                              0\r
@@ -44,4 +38,4 @@ bool RAMFUNC MfSniffSend(uint16_t maxTimeoutMs);
 bool intMfSniffSend();\r
 bool MfSniffEnd(void);\r
 \r
-#endif
\ No newline at end of file
+#endif\r
Impressum, Datenschutz