a3994421 |
1 | //----------------------------------------------------------------------------- |
2 | // (c) 2016 Iceman |
3 | // |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, |
5 | // at your option, any later version. See the LICENSE.txt file for the text of |
6 | // the license. |
7 | //----------------------------------------------------------------------------- |
8 | // LEGIC type prototyping |
9 | //----------------------------------------------------------------------------- |
10 | |
11 | #ifndef _LEGIC_H_ |
12 | #define _LEGIC_H_ |
13 | |
14 | #include "common.h" |
15 | |
16 | //----------------------------------------------------------------------------- |
17 | // LEGIC |
18 | //----------------------------------------------------------------------------- |
19 | typedef struct { |
20 | uint8_t uid[4]; |
21 | uint32_t tagtype; |
22 | uint8_t cmdsize; |
fabef615 |
23 | uint8_t addrsize; |
24 | uint16_t cardsize; |
a3994421 |
25 | } legic_card_select_t; |
26 | |
27 | #endif // _LEGIC_H_ |