]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/emv/apduinfo.h
a3fa2049b96736f80c86875414641f660f08e06b
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2017 Merlok
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
7 //-----------------------------------------------------------------------------
8 // APDU status bytes information
9 //-----------------------------------------------------------------------------
19 #define APDUCODE_TYPE_NONE 0
20 #define APDUCODE_TYPE_INFO 1
21 #define APDUCODE_TYPE_WARNING 2
22 #define APDUCODE_TYPE_ERROR 3
23 #define APDUCODE_TYPE_SECURITY 4
28 const char *Description
;
31 extern const APDUCode
* const GetAPDUCode(uint8_t sw1
, uint8_t sw2
);
32 extern const char* GetAPDUCodeDescription(uint8_t sw1
, uint8_t sw2
);