1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2020 tharexde
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 EM4x50 commands
9 //-----------------------------------------------------------------------------
11 #ifndef CMDLFEM4X50_H__
12 #define CMDLFEM4X50_H__
16 int CmdLFEM4X50(const char *Cmd
);
18 int read_em4x50_uid(void);
19 bool detect_4x50_block(void);
20 int em4x50_read(em4x50_data_t
*etd
, em4x50_word_t
*out
);
22 int CmdEM4x50Info(const char *Cmd
);
23 int CmdEM4x50Write(const char *Cmd
);
24 int CmdEM4x50WritePwd(const char *Cmd
);
25 int CmdEM4x50Read(const char *Cmd
);
26 int CmdEM4x50Dump(const char *Cmd
);
27 int CmdEM4x50Wipe(const char *Cmd
);
28 int CmdEM4x50Brute(const char *Cmd
);
29 int CmdEM4x50Login(const char *Cmd
);
30 int CmdEM4x50Restore(const char *Cmd
);
31 int CmdEM4x50Sim(const char *Cmd
);
32 int CmdEM4x50Reader(const char *Cmd
);
33 int CmdEM4x50ELoad(const char *Cmd
);
34 int CmdEM4x50ESave(const char *Cmd
);
35 int CmdEM4x50Chk(const char *Cmd
);
36 int CmdEM4x50EView(const char *Cmd
);