]> cvs.zerfleddert.de Git - proxmark3-svn/blame - include/smartcard.h
Paradox clone functionality implemented (#747)
[proxmark3-svn] / include / smartcard.h
CommitLineData
43591e64 1//-----------------------------------------------------------------------------
2// (c) 2018 Iceman, adapted by Marshmellow
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// smart card type prototyping
9//-----------------------------------------------------------------------------
10#ifndef __SMARTCARD_H
11#define __SMARTCARD_H
12
13//-----------------------------------------------------------------------------
14// ISO 7618 Smart Card
15//-----------------------------------------------------------------------------
16typedef struct {
17 uint8_t atr_len;
18 uint8_t atr[30];
19} __attribute__((__packed__)) smart_card_atr_t;
20
21typedef enum SMARTCARD_COMMAND {
22 SC_CONNECT = (1 << 0),
23 SC_NO_DISCONNECT = (1 << 1),
24 SC_RAW = (1 << 2),
8d7d7b61 25 SC_SELECT = (1 << 3)
43591e64 26} smartcard_command_t;
27
28
29#endif
Impressum, Datenschutz