]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfem4x.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
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
7 //-----------------------------------------------------------------------------
8 // Low frequency EM4x commands
9 //-----------------------------------------------------------------------------
14 #include <stdbool.h> // for bool
17 extern int CmdLFEM4X(const char *Cmd
);
18 extern void printEM410x(uint32_t hi
, uint64_t id
);
19 extern int CmdEMdemodASK(const char *Cmd
);
20 extern int CmdAskEM410xDemod(const char *Cmd
);
21 extern int AskEm410xDecode(bool verbose
, uint32_t *hi
, uint64_t *lo
);
22 extern int AskEm410xDemod(const char *Cmd
, uint32_t *hi
, uint64_t *lo
, bool verbose
);
23 extern int CmdEM410xSim(const char *Cmd
);
24 extern int CmdEM410xWatch(const char *Cmd
);
25 extern int CmdEM410xWatchnSpoof(const char *Cmd
);
26 extern int CmdEM410xWrite(const char *Cmd
);
27 extern bool EM4x05Block0Test(uint32_t *wordData
);
28 extern int CmdEM4x05info(const char *Cmd
);
29 extern int EM4x05WriteWord(uint8_t addr
, uint32_t data
, uint32_t pwd
, bool usePwd
, bool swap
, bool invert
);
30 extern int CmdEM4x05WriteWord(const char *Cmd
);
31 extern int CmdEM4x05dump(const char *Cmd
);
32 extern int CmdEM4x05ReadWord(const char *Cmd
);
33 extern int EM4x05ReadWord_ext(uint8_t addr
, uint32_t pwd
, bool usePwd
, uint32_t *wordData
);
34 extern int EM4x50Read(const char *Cmd
, bool verbose
);
35 extern int CmdEM4x50Read(const char *Cmd
);