]>
Commit | Line | Data |
---|---|---|
5866c187 | 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 | // HitagS emulation (preliminary test version) | |
7 | // | |
8 | // (c) 2016 Oguzhan Cicek, Hendrik Schwartke, Ralf Spenneberg | |
9 | // <info@os-s.de> | |
10 | //----------------------------------------------------------------------------- | |
11 | // Some code was copied from Hitag2.c | |
12 | //----------------------------------------------------------------------------- | |
13 | ||
14 | #ifndef HITAGS_H__ | |
15 | #define HITAGS_H__ | |
16 | ||
17 | #include <stdint.h> | |
18 | #include <stdbool.h> | |
19 | #include "hitag.h" | |
20 | ||
21 | void ReadHitagSCmd(hitag_function htf, hitag_data* htd, uint64_t startPage, uint64_t tagMode, bool readBlock); | |
22 | void SimulateHitagSTag(bool tag_mem_supplied, uint8_t* data); | |
23 | void WritePageHitagS(hitag_function htf, hitag_data* htd, int page); | |
24 | void check_challenges_cmd(bool file_given, uint8_t* data, uint64_t tagMode); | |
25 | ||
26 | #endif |