mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
8c8a86cb83
This commit adds a standalone mode for Legic Prime. It reads and simulates a Legic tag. Tested with MIM1024 tags. MIM256 and MIM512 should work to. We just read the data and for simulating we pretend to be a MIM1024 card. Co-authored-by: Stefanie Hofmann <>
22 lines
800 B
C
22 lines
800 B
C
//-----------------------------------------------------------------------------
|
|
// (c) 2009 Henryk Plötz <henryk@ploetzli.ch>
|
|
// 2018 AntiCat
|
|
//
|
|
// 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.
|
|
//-----------------------------------------------------------------------------
|
|
// LEGIC RF emulation public interface
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __LEGICRF_H
|
|
#define __LEGICRF_H
|
|
|
|
#include "common.h"
|
|
|
|
void LegicRfInfo(void);
|
|
void LegicRfReader(uint16_t offset, uint16_t len, uint8_t iv);
|
|
void LegicRfWriter(uint16_t offset, uint16_t len, uint8_t iv, uint8_t *data);
|
|
int check_success(void);
|
|
#endif /* __LEGICRF_H */
|