mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-27 10:34:08 +08:00
f28da2da6e
all those changes marshmellow did.. and more...
40 lines
1.4 KiB
C
40 lines
1.4 KiB
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
|
|
//
|
|
// 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 AWID commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFAWID_H__
|
|
#define CMDLFAWID_H__
|
|
|
|
#include <stdio.h> // sscanf
|
|
#include <stdbool.h> // bool
|
|
#include "proxmark3.h" // Definitions, USB controls, etc
|
|
#include "ui.h" // PrintAndLog
|
|
#include "cmdparser.h" // CmdsParse, CmdsHelp
|
|
#include "lfdemod.h" // parityTest
|
|
#include "util.h" // weigandparity
|
|
#include "cmdlf.h" // lf read
|
|
#include "protocols.h" // for T55xx config register definitions
|
|
#include "cmdmain.h"
|
|
#include "util_posix.h"
|
|
|
|
|
|
extern int CmdLFAWID(const char *Cmd);
|
|
extern int CmdAWIDDemod(const char *Cmd);
|
|
extern int CmdAWIDRead(const char *Cmd);
|
|
extern int CmdAWIDSim(const char *Cmd);
|
|
extern int CmdAWIDClone(const char *Cmd);
|
|
extern int CmdAWIDBrute(const char *Cmd);
|
|
extern int getAWIDBits(uint8_t fmtlen, uint32_t fc, uint32_t cn, uint8_t *bits);
|
|
|
|
extern int usage_lf_awid_read(void);
|
|
extern int usage_lf_awid_sim(void);
|
|
extern int usage_lf_awid_clone(void);
|
|
extern int usage_lf_awid_brute(void);
|
|
|
|
#endif
|