X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1eb874ee3f7690cc92a720c0636fbe100e82b1e5..5bce72d5e3b5921ac7d8f08eeaa406fd2a53d4b0:/client/cmdlfem4x.h?ds=inline diff --git a/client/cmdlfem4x.h b/client/cmdlfem4x.h index baea50a4..cdb59acd 100644 --- a/client/cmdlfem4x.h +++ b/client/cmdlfem4x.h @@ -11,17 +11,26 @@ #ifndef CMDLFEM4X_H__ #define CMDLFEM4X_H__ -int CmdLFEM4X(const char *Cmd); -int CmdEMdemodASK(const char *Cmd); -int CmdEM410xRead(const char *Cmd); -int CmdEM410xSim(const char *Cmd); -int CmdEM410xWatch(const char *Cmd); -int CmdEM410xWatchnSpoof(const char *Cmd); -int CmdEM410xWrite(const char *Cmd); -int CmdEM4x50Read(const char *Cmd); -int CmdReadWord(const char *Cmd); -int CmdReadWordPWD(const char *Cmd); -int CmdWriteWord(const char *Cmd); -int CmdWriteWordPWD(const char *Cmd); +#include // for bool + +extern int CmdLFEM4X(const char *Cmd); +extern void printEM410x(uint32_t hi, uint64_t id); +extern int CmdEMdemodASK(const char *Cmd); +extern int CmdAskEM410xDemod(const char *Cmd); +extern int AskEm410xDecode(bool verbose, uint32_t *hi, uint64_t *lo ); +extern int AskEm410xDemod(const char *Cmd, uint32_t *hi, uint64_t *lo, bool verbose); +extern int CmdEM410xSim(const char *Cmd); +extern int CmdEM410xWatch(const char *Cmd); +extern int CmdEM410xWatchnSpoof(const char *Cmd); +extern int CmdEM410xWrite(const char *Cmd); +extern bool EM4x05Block0Test(uint32_t *wordData); +extern int CmdEM4x05info(const char *Cmd); +extern int CmdEM4x05WriteWord(const char *Cmd); +extern int CmdEM4x05dump(const char *Cmd); +extern int CmdEM4x05ReadWord(const char *Cmd); +extern int EM4x05ReadWord_ext(uint8_t addr, uint32_t pwd, bool usePwd, uint32_t *wordData); +extern int EM4x50Read(const char *Cmd, bool verbose); +extern int CmdEM4x50Read(const char *Cmd); + #endif