X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7fe9b0b742d7dae9c5af1d292d11840b5c3cbfae..c08c796e8d11fc26af157545439c918c9603056a:/client/cmdhf14b.h diff --git a/client/cmdhf14b.h b/client/cmdhf14b.h index 523f079f..26eb9037 100644 --- a/client/cmdhf14b.h +++ b/client/cmdhf14b.h @@ -1,15 +1,58 @@ +//----------------------------------------------------------------------------- +// Copyright (C) 2010 iZsh +// +// This code is licensed to you under the terms of the GNU GPL, version 2 or, +// at your option, any later version. See the LICENSE.txt file for the text of +// the license. +//----------------------------------------------------------------------------- +// High frequency ISO14443B commands +//----------------------------------------------------------------------------- + #ifndef CMDHF14B_H__ #define CMDHF14B_H__ -int CmdHF14B(const char *Cmd); +#include +#include +#include +#include +#include "iso14443crc.h" +#include "proxmark3.h" +#include "data.h" +#include "graph.h" +#include "util.h" +#include "ui.h" +#include "cmdparser.h" +#include "cmdmain.h" +#include "cmdhf14a.h" +#include "cmdhf.h" +#include "prng.h" +#include "sha1.h" +#include "mifare.h" // structs/enum for ISO14B +#include "protocols.h" // definitions of ISO14B protocol + +int usage_hf_14b_info(void); +int usage_hf_14b_reader(void); +int usage_hf_14b_raw(void); +int usage_hf_14b_snoop(void); +int usage_hf_14b_sim(void); +int usage_hf_14b_read_srx(void); +int usage_hf_14b_write_srx(void); -int CmdHF14BDemod(const char *Cmd); +int CmdHF14B(const char *Cmd); int CmdHF14BList(const char *Cmd); -int CmdHF14BRead(const char *Cmd); -int CmdHF14Sim(const char *Cmd); -int CmdHFSimlisten(const char *Cmd); +int CmdHF14BInfo(const char *Cmd); +int CmdHF14BSim(const char *Cmd); int CmdHF14BSnoop(const char *Cmd); -int CmdSri512Read(const char *Cmd); -int CmdSrix4kRead(const char *Cmd); +int CmdHF14BWrite( const char *cmd); +int CmdHF14BReader(const char *Cmd); + +bool HF14BInfo(bool verbose); +bool HF14BReader(bool verbose); +int CmdHF14BCmdRaw (const char *Cmd); + +// SRi ST Microelectronics read/write +int CmdHF14BReadSri(const char *Cmd); +int CmdHF14BWriteSri(const char *Cmd); +bool waitCmd(bool verbose); #endif