]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/cmdhf14a.h
Update cmdmain.c
[proxmark3-svn] / client / cmdhf14a.h
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 <stdint.h>
16 #include <stdbool.h>
17
18 // structure and database for uid -> tagtype lookups
19 typedef struct {
20 uint8_t uid;
21 char* desc;
22 } manufactureName;
23
24 int CmdHF14A(const char *Cmd);
25 int CmdHF14AList(const char *Cmd);
26 int CmdHF14AMifare(const char *Cmd);
27 int CmdHF14AReader(const char *Cmd);
28 extern int CmdHF14AInfo(const char *Cmd);
29 int CmdHF14ASim(const char *Cmd);
30 int CmdHF14ASnoop(const char *Cmd);
31 char* getTagInfo(uint8_t uid);
32
33 extern void DropField();
34 extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen);
35
36 #endif
Impressum, Datenschutz