2019-03-13 19:18:37 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// (c) 2012 Roel Verdult
|
2021-04-04 23:06:48 +08:00
|
|
|
// modified 2021 Iceman
|
2019-03-13 19:18:37 +08:00
|
|
|
//
|
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Hitag2 type prototyping
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef _HITAG2_H_
|
|
|
|
#define _HITAG2_H_
|
|
|
|
|
2019-08-08 22:57:33 +08:00
|
|
|
#include "common.h"
|
2019-03-13 19:18:37 +08:00
|
|
|
#include "hitag.h"
|
|
|
|
|
2020-01-22 20:12:09 +08:00
|
|
|
void SniffHitag2(void);
|
2021-04-04 23:06:48 +08:00
|
|
|
void SimulateHitag2(void);
|
2019-03-13 19:18:37 +08:00
|
|
|
void ReaderHitag(hitag_function htf, hitag_data *htd);
|
|
|
|
void WriterHitag(hitag_function htf, hitag_data *htd, int page);
|
2021-04-04 23:06:48 +08:00
|
|
|
void EloadHitag(uint8_t *data, uint16_t len);
|
2019-03-13 19:18:37 +08:00
|
|
|
#endif
|