]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifaresniff.h
Minor fix, sometimes when data is sent without the pm3 is connected, it causes a...
[proxmark3-svn] / armsrc / mifaresniff.h
index 21692aec94e16d96b484e979ef1e3c1ac01f698b..db5af9a850305ddafab2f7c25237ac46a2ee5d97 100644 (file)
 #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_ATQA                               3\r
+#define SNF_ANTICOL1           4\r
+#define SNF_UID1                               5\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
+\r
+#define SNF_UID_4                              0\r
+#define SNF_UID_7                              0\r
+\r
+int MfSniffInit(void);\r
+int RAMFUNC MfSniffLogic(const uint8_t * data, int len, uint32_t parity, int bitCnt, int reader);\r
+int RAMFUNC MfSniffSend(int maxTimeoutMs);\r
+int intMfSniffSend();\r
+int MfSniffEnd(void);\r
 \r
 #endif
\ No newline at end of file
Impressum, Datenschutz