]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdhf14b.h
ADD: `analyse nuid` - generates NUID 4byte from a UID 7byte. Mifare Classic Ev1...
[proxmark3-svn] / client / cmdhf14b.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
2// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3//
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
6// the license.
7//-----------------------------------------------------------------------------
8// High frequency ISO14443B commands
9//-----------------------------------------------------------------------------
10
7fe9b0b7 11#ifndef CMDHF14B_H__
12#define CMDHF14B_H__
13
16658b1f 14#include <stdio.h>
15#include <stdlib.h>
16#include <stdbool.h>
17#include <stdint.h>
6fc68747 18#include "iso14443crc.h"
19#include "proxmark3.h"
20#include "data.h"
21#include "graph.h"
22#include "util.h"
23#include "ui.h"
24#include "cmdparser.h"
25#include "cmdmain.h"
26#include "cmdhf14a.h"
6fc68747 27#include "cmdhf.h"
28#include "prng.h"
29#include "sha1.h"
30#include "mifare.h" // structs/enum for ISO14B
31#include "protocols.h" // definitions of ISO14B protocol
32
6fc68747 33int usage_hf_14b_info(void);
34int usage_hf_14b_reader(void);
35int usage_hf_14b_raw(void);
36int usage_hf_14b_snoop(void);
37int usage_hf_14b_sim(void);
38int usage_hf_14b_read_srx(void);
39int usage_hf_14b_write_srx(void);
40
7fe9b0b7 41int CmdHF14B(const char *Cmd);
7fe9b0b7 42int CmdHF14BList(const char *Cmd);
17ad0e09 43int CmdHF14BInfo(const char *Cmd);
22e24700 44int CmdHF14BSim(const char *Cmd);
7fe9b0b7 45int CmdHF14BSnoop(const char *Cmd);
0222acfc 46int CmdHF14BWrite( const char *cmd);
6fc68747 47int CmdHF14BReader(const char *Cmd);
48
49bool HF14BInfo(bool verbose);
50bool HF14BReader(bool verbose);
51int CmdHF14BCmdRaw (const char *Cmd);
52
53// SRi ST Microelectronics read/write
54int CmdHF14BReadSri(const char *Cmd);
55int CmdHF14BWriteSri(const char *Cmd);
7fe9b0b7 56
6fc68747 57bool waitCmd(bool verbose);
7fe9b0b7 58#endif
Impressum, Datenschutz