]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdhf14a.h
changed iso14aapdu arm side and client
[proxmark3-svn] / client / cmdhf14a.h
... / ...
CommitLineData
1//-----------------------------------------------------------------------------
2// 2011, Merlok
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
12#ifndef CMDHF14A_H__
13#define CMDHF14A_H__
14
15#include <stdio.h>
16#include <stdint.h>
17#include <stdlib.h>
18#include <inttypes.h>
19#include <string.h>
20#include <unistd.h>
21#include <stdbool.h>
22
23// structure and database for uid -> tagtype lookups
24typedef struct {
25 uint8_t uid;
26 char* desc;
27} manufactureName;
28
29int CmdHF14A(const char *Cmd);
30int CmdHF14AList(const char *Cmd);
31int CmdHF14AMifare(const char *Cmd);
32int CmdHF14AReader(const char *Cmd);
33extern int CmdHF14AInfo(const char *Cmd);
34int CmdHF14ASim(const char *Cmd);
35int CmdHF14ASnoop(const char *Cmd);
36char* getTagInfo(uint8_t uid);
37
38extern void DropField();
39extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int *dataoutlen);
40
41#endif
Impressum, Datenschutz