2019-03-13 17:53:40 +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 emulation
|
|
|
|
//
|
|
|
|
// (c) 2009 Henryk Plötz <henryk@ploetzli.ch>
|
|
|
|
// (c) 2012 Roel Verdult
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef HITAG2_H__
|
|
|
|
#define HITAG2_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "hitag.h"
|
|
|
|
|
2019-08-22 13:54:55 +08:00
|
|
|
extern void SnoopHitag(uint32_t type);
|
|
|
|
extern void SimulateHitagTag(bool tag_mem_supplied, uint8_t* data);
|
|
|
|
extern void ReaderHitag(hitag_function htf, hitag_data* htd);
|
|
|
|
extern void WriterHitag(hitag_function htf, hitag_data* htd, int page);
|
2019-03-13 17:53:40 +08:00
|
|
|
|
|
|
|
#endif
|