text
[RRG-proxmark3.git] / armsrc / mifaresniff_disabled.h
blob426e5ccfaf01cca78d31024ce19ff8831583af61
1 //-----------------------------------------------------------------------------
2 // Merlok - June 2012
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // Routines to support mifare classic sniffer.
9 //-----------------------------------------------------------------------------
11 #ifndef __MIFARESNIFF_H
12 #define __MIFARESNIFF_H
14 #include "common.h"
16 #define SNF_INIT 0
17 #define SNF_NO_FIELD 1
18 #define SNF_ATQA 2
19 #define SNF_UID 3
20 #define SNF_SAK 4
21 #define SNF_CARD_IDLE 5
22 #define SNF_CARD_CMD 6
23 #define SNF_MAGIC_WUPC2 7
25 #define SNF_UID_4 0
26 #define SNF_UID_7 0
27 #define SNF_UID_10 0
29 void MfSniffInit(void);
30 bool RAMFUNC MfSniffLogic(const uint8_t *data, uint16_t len, uint8_t *parity, uint16_t bitCnt, bool reader);
31 void RAMFUNC MfSniffSend(void);
32 void MfSniffEnd(void);
34 #endif