2019-03-13 19:18:37 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// (c) 2012 Roel Verdult
|
|
|
|
//
|
|
|
|
// 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_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "hitag.h"
|
|
|
|
|
2019-05-13 18:27:00 +08:00
|
|
|
void SniffHitag(void);
|
2019-03-13 19:18:37 +08:00
|
|
|
void SimulateHitagTag(bool tag_mem_supplied, uint8_t *data);
|
|
|
|
void ReaderHitag(hitag_function htf, hitag_data *htd);
|
|
|
|
void WriterHitag(hitag_function htf, hitag_data *htd, int page);
|
|
|
|
|
|
|
|
#endif
|