chg: moved to header file
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
// ICEMAN 2017, this file looks similar to emvdataels.h headerfile.
|
||||
|
||||
//Data elements for EMV transactions.
|
||||
#include <stdint.h>
|
||||
|
||||
#ifndef __EMVDATAELS_H
|
||||
#define __EMVDATAELS_H
|
||||
#include "emvdataels.h"
|
||||
@@ -8,7 +10,7 @@
|
||||
typedef struct{
|
||||
uint8_t tag[2];
|
||||
char description[255];
|
||||
}tagdescription;
|
||||
} tagdescription;
|
||||
|
||||
const uint8_t AID_VISA[] = {0xa0,0x00,0x00,0x00,0x03};
|
||||
const uint8_t AID_VISA_DB[] = {0xa0,0x00,0x00,0x00,0x03,0x10,0x10};
|
||||
@@ -123,5 +125,4 @@ const tagdescription EMV_TAG_LIST[] = {
|
||||
|
||||
//human readable error messages
|
||||
|
||||
|
||||
#endif //__EMVDATAELS_H
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
//Data elements for EMV transactions.
|
||||
#include <stdint.h>
|
||||
#ifndef __EMVDATAELS_H
|
||||
#define __EMVDATAELS_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
//Known AIDs
|
||||
extern const uint8_t AID_VISA[5];
|
||||
extern const uint8_t AID_VISA_DB[7] ;
|
||||
@@ -27,7 +29,7 @@ extern const uint8_t DF_PSE[];
|
||||
typedef struct{
|
||||
uint8_t tag[2];
|
||||
char description[255];
|
||||
}tagdescription;
|
||||
} tagdescription;
|
||||
|
||||
extern const tagdescription EMV_TAG_LIST[62]; //SW1 return values
|
||||
extern const uint8_t SW1_RESPONSE_BYTES[];
|
||||
|
||||
Reference in New Issue
Block a user