X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2f337fe8a31e1dca61e929f719ea70d84ce4083e..513c6c98af4583e18a7d2a13e082aa52733f9134:/client/cmdlfem4x.h?ds=sidebyside diff --git a/client/cmdlfem4x.h b/client/cmdlfem4x.h index ff8e1c4d..869d72d0 100644 --- a/client/cmdlfem4x.h +++ b/client/cmdlfem4x.h @@ -11,6 +11,9 @@ #ifndef CMDLFEM4X_H__ #define CMDLFEM4X_H__ +#include // for bool +#include + extern int CmdLFEM4X(const char *Cmd); extern void printEM410x(uint32_t hi, uint64_t id); extern int CmdEMdemodASK(const char *Cmd); @@ -23,6 +26,7 @@ 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 EM4x05WriteWord(uint8_t addr, uint32_t data, uint32_t pwd, bool usePwd, bool swap, bool invert); extern int CmdEM4x05WriteWord(const char *Cmd); extern int CmdEM4x05dump(const char *Cmd); extern int CmdEM4x05ReadWord(const char *Cmd);