1 //-----------------------------------------------------------------------------
2 // Borrowed initially from https://github.com/Proxmark/proxmark3/pull/167/files
3 // Copyright (C) 2016 Oguzhan Cicek, Hendrik Schwartke, Ralf Spenneberg
4 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
6 // This program is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // See LICENSE.txt for the text of the license.
17 //-----------------------------------------------------------------------------
18 // HitagS emulation (preliminary test version)
19 //-----------------------------------------------------------------------------
27 void hts_simulate(bool tag_mem_supplied
, const uint8_t *data
, bool ledcontrol
);
28 void hts_read(const lf_hitag_data_t
*payload
, bool ledcontrol
);
29 void hts_write_page(const lf_hitag_data_t
*payload
, bool ledcontrol
);
30 void hts_check_challenges(const uint8_t *data
, uint32_t datalen
, bool ledcontrol
);
31 int hts_read_uid(uint32_t *uid
, bool ledcontrol
, bool send_answer
);