]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdlfem4x.h
small fix: make iso14a_set_timeout() external
[proxmark3-svn] / client / cmdlfem4x.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// Low frequency EM4x commands
9//-----------------------------------------------------------------------------
10
7fe9b0b7 11#ifndef CMDLFEM4X_H__
12#define CMDLFEM4X_H__
13
2b4898ec 14#include <stdbool.h> // for bool
4ab135c0 15#include <inttypes.h>
2b4898ec 16
35aa230e 17extern int CmdLFEM4X(const char *Cmd);
18extern void printEM410x(uint32_t hi, uint64_t id);
19extern int CmdEMdemodASK(const char *Cmd);
20extern int CmdAskEM410xDemod(const char *Cmd);
21extern int AskEm410xDecode(bool verbose, uint32_t *hi, uint64_t *lo );
22extern int AskEm410xDemod(const char *Cmd, uint32_t *hi, uint64_t *lo, bool verbose);
23extern int CmdEM410xSim(const char *Cmd);
539337a7 24extern int CmdEM410xBrute(const char *Cmd);
35aa230e 25extern int CmdEM410xWatch(const char *Cmd);
26extern int CmdEM410xWatchnSpoof(const char *Cmd);
27extern int CmdEM410xWrite(const char *Cmd);
28extern bool EM4x05Block0Test(uint32_t *wordData);
29extern int CmdEM4x05info(const char *Cmd);
4ab135c0 30extern int EM4x05WriteWord(uint8_t addr, uint32_t data, uint32_t pwd, bool usePwd, bool swap, bool invert);
35aa230e 31extern int CmdEM4x05WriteWord(const char *Cmd);
32extern int CmdEM4x05dump(const char *Cmd);
33extern int CmdEM4x05ReadWord(const char *Cmd);
34extern int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *wordData);
35extern int EM4x50Read(const char *Cmd, bool verbose);
36extern int CmdEM4x50Read(const char *Cmd);
d0b05864 37
7fe9b0b7 38
39#endif
Impressum, Datenschutz