Standalone mode: Adding Legic Prime read/sim run

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 <>
This commit is contained in:
Uli Heilmeier 2020-02-25 22:24:16 +01:00
commit 8c8a86cb83
5 changed files with 93 additions and 3 deletions

View file

@ -17,5 +17,5 @@
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 */