]>
Commit | Line | Data |
---|---|---|
deb965b5 | 1 | //----------------------------------------------------------------------------- |
2 | // Gerhard de Koning Gans - May 2008 | |
3 | // Hagen Fritsch - June 2010 | |
4 | // Gerhard de Koning Gans - May 2011 | |
5 | // Gerhard de Koning Gans - June 2012 - Added iClass card and reader emulation | |
6 | // | |
7 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
8 | // at your option, any later version. See the LICENSE.txt file for the text of | |
9 | // the license. | |
10 | //----------------------------------------------------------------------------- | |
11 | // Routines to support iClass. | |
12 | //----------------------------------------------------------------------------- | |
13 | ||
14 | #ifndef ICLASS_H__ | |
15 | #define ICLASS_H__ | |
16 | ||
17 | #include <stdint.h> | |
ece38ef3 | 18 | #include <stdbool.h> |
deb965b5 | 19 | |
be09ea86 | 20 | extern void SnoopIClass(uint8_t jam_search_len, uint8_t *jam_search_string); |
deb965b5 | 21 | extern void SimulateIClass(uint32_t arg0, uint32_t arg1, uint32_t arg2, uint8_t *datain); |
22 | extern void ReaderIClass(uint8_t arg0); | |
23 | extern void ReaderIClass_Replay(uint8_t arg0, uint8_t *MAC); | |
24 | extern void IClass_iso14443A_GetPublic(uint8_t arg0); | |
ece38ef3 | 25 | extern void iClass_Readcheck(uint8_t block, bool use_credit_key); |
26 | extern void iClass_Check(uint8_t *MAC); | |
deb965b5 | 27 | extern void iClass_WriteBlock(uint8_t blockNo, uint8_t *data); |
28 | extern void iClass_ReadBlk(uint8_t blockNo); | |
deb965b5 | 29 | extern void iClass_Dump(uint8_t blockno, uint8_t numblks); |
30 | extern void iClass_Clone(uint8_t startblock, uint8_t endblock, uint8_t *data); | |
deb965b5 | 31 | |
32 | #endif |