Merge pull request #1327 from Pondorasti/patch-1
[RRG-proxmark3.git] / include / iso15.h
bloba84dc91cd3403c3f33eb0856a2676cb9be736716
1 //-----------------------------------------------------------------------------
2 // (c) 2020 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 // ISO 15693 type prototyping
9 //-----------------------------------------------------------------------------
11 #ifndef _ISO15_H_
12 #define _ISO15_H_
14 #include "common.h"
15 typedef struct {
16 uint8_t uid[8];
17 uint8_t uidlen;
18 uint8_t atqb[7];
19 uint8_t chipid;
20 uint8_t cid;
21 } PACKED iso15_card_select_t;
23 typedef enum ISO15_COMMAND {
24 ISO15_CONNECT = (1 << 0),
25 ISO15_NO_DISCONNECT = (1 << 1),
26 ISO15_RAW = (1 << 2),
27 ISO15_APPEND_CRC = (1 << 3),
28 ISO15_HIGH_SPEED = (1 << 4),
29 ISO15_READ_RESPONSE = (1 << 5)
30 } iso15_command_t;
33 #endif // _ISO15_H_