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
5 //-----------------------------------------------------------------------------
6 // HitagS emulation (preliminary test version)
8 // (c) 2016 Oguzhan Cicek, Hendrik Schwartke, Ralf Spenneberg
10 //-----------------------------------------------------------------------------
11 // Some code was copied from Hitag2.c
12 //-----------------------------------------------------------------------------
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
);