]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhf14a.h
deleted condition in iso14a select (sak & 0x20 ==0) - error. Usually SAK = 88
[proxmark3-svn] / client / cmdhf14a.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
50193c1e 2// 2011, Merlok
a553f267 3// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4//
5// This code is licensed to you under the terms of the GNU GPL, version 2 or,
6// at your option, any later version. See the LICENSE.txt file for the text of
7// the license.
8//-----------------------------------------------------------------------------
9// High frequency ISO14443A commands
10//-----------------------------------------------------------------------------
11
7fe9b0b7 12#ifndef CMDHF14A_H__
13#define CMDHF14A_H__
14
6fc6cd0f 15#include <stdio.h>
acf0582d 16#include <stdint.h>
6fc6cd0f 17#include <stdlib.h>
18#include <inttypes.h>
19#include <string.h>
20#include <unistd.h>
21#include "util.h"
22#include "util_posix.h"
23#include "iso14443crc.h"
24#include "data.h"
25#include "proxmark3.h"
26#include "ui.h"
27#include "cmdparser.h"
28#include "common.h"
29#include "cmdmain.h"
30#include "mifare.h"
31#include "cmdhfmfu.h"
32#include "mifarehost.h"
fe346768 33#include "emv/apduinfo.h"
a2bb2735 34#include "emv/emvcore.h"
7fe9b0b7 35
a23f0001 36// structure and database for uid -> tagtype lookups
37typedef struct {
38 uint8_t uid;
39 char* desc;
40} manufactureName;
41
acf0582d 42int CmdHF14A(const char *Cmd);
7fe9b0b7 43int CmdHF14AList(const char *Cmd);
44int CmdHF14AMifare(const char *Cmd);
45int CmdHF14AReader(const char *Cmd);
46int CmdHF14ASim(const char *Cmd);
47int CmdHF14ASnoop(const char *Cmd);
b915fda3 48char* getTagInfo(uint8_t uid);
acf0582d 49
6fc6cd0f 50extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int *dataoutlen);
51
7fe9b0b7 52#endif
Impressum, Datenschutz