2020-06-15 20:31:43 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 2020 tharexde
|
|
|
|
//
|
|
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
|
|
// the license.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Low frequency EM4x50 commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDLFEM4X50_H__
|
|
|
|
#define CMDLFEM4X50_H__
|
|
|
|
|
2020-06-30 23:43:47 +08:00
|
|
|
#include "em4x50.h"
|
2020-06-29 03:33:37 +08:00
|
|
|
|
2020-12-04 07:11:57 +08:00
|
|
|
int CmdLFEM4X50(const char *Cmd);
|
|
|
|
|
2020-06-30 23:43:47 +08:00
|
|
|
int read_em4x50_uid(void);
|
|
|
|
bool detect_4x50_block(void);
|
2020-10-28 02:16:54 +08:00
|
|
|
int em4x50_read(em4x50_data_t *etd, em4x50_word_t *out);
|
2020-06-15 20:31:43 +08:00
|
|
|
|
|
|
|
int CmdEM4x50Info(const char *Cmd);
|
2020-06-17 05:25:17 +08:00
|
|
|
int CmdEM4x50Write(const char *Cmd);
|
2020-11-02 05:44:16 +08:00
|
|
|
int CmdEM4x50WritePwd(const char *Cmd);
|
2020-06-29 03:33:37 +08:00
|
|
|
int CmdEM4x50Read(const char *Cmd);
|
2020-07-06 11:41:44 +08:00
|
|
|
int CmdEM4x50Dump(const char *Cmd);
|
2020-07-09 07:58:50 +08:00
|
|
|
int CmdEM4x50Wipe(const char *Cmd);
|
2020-09-27 19:42:27 +08:00
|
|
|
int CmdEM4x50Brute(const char *Cmd);
|
2020-09-28 05:22:51 +08:00
|
|
|
int CmdEM4x50Login(const char *Cmd);
|
2020-10-25 23:39:22 +08:00
|
|
|
int CmdEM4x50Restore(const char *Cmd);
|
2020-10-27 05:10:48 +08:00
|
|
|
int CmdEM4x50Sim(const char *Cmd);
|
2020-11-30 06:57:43 +08:00
|
|
|
int CmdEM4x50Reader(const char *Cmd);
|
2020-10-30 07:41:45 +08:00
|
|
|
int CmdEM4x50ELoad(const char *Cmd);
|
|
|
|
int CmdEM4x50ESave(const char *Cmd);
|
2020-11-02 05:44:16 +08:00
|
|
|
int CmdEM4x50Chk(const char *Cmd);
|
2020-12-12 02:54:46 +08:00
|
|
|
int CmdEM4x50EView(const char *Cmd);
|
2020-07-09 07:58:50 +08:00
|
|
|
|
2020-06-15 20:31:43 +08:00
|
|
|
#endif
|