]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
3 | // at your option, any later version. See the LICENSE.txt file for the text of | |
4 | // the license. | |
5 | //----------------------------------------------------------------------------- | |
6 | // Hitag2 emulation | |
7 | // | |
8 | // (c) 2009 Henryk Plötz <henryk@ploetzli.ch> | |
9 | // (c) 2012 Roel Verdult | |
10 | //----------------------------------------------------------------------------- | |
11 | ||
12 | #ifndef HITAG2_H__ | |
13 | #define HITAG2_H__ | |
14 | ||
15 | #include <stdint.h> | |
16 | #include <stdbool.h> | |
17 | #include "hitag.h" | |
18 | ||
19 | extern void SnoopHitag(uint32_t type); | |
20 | extern void SimulateHitagTag(bool tag_mem_supplied, uint8_t* data); | |
21 | extern void ReaderHitag(hitag_function htf, hitag_data* htd); | |
22 | extern void WriterHitag(hitag_function htf, hitag_data* htd, int page); | |
23 | ||
24 | #endif |