mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-12 00:06:09 -07:00
move strucrture to .h file
This commit is contained in:
parent
6fc6cd0f57
commit
a23f000182
2 changed files with 6 additions and 7 deletions
|
@ -14,12 +14,6 @@
|
||||||
static int CmdHelp(const char *Cmd);
|
static int CmdHelp(const char *Cmd);
|
||||||
static int waitCmd(uint8_t iLen);
|
static int waitCmd(uint8_t iLen);
|
||||||
|
|
||||||
// structure and database for uid -> tagtype lookups
|
|
||||||
typedef struct {
|
|
||||||
uint8_t uid;
|
|
||||||
char* desc;
|
|
||||||
} manufactureName;
|
|
||||||
|
|
||||||
const manufactureName manufactureMapping[] = {
|
const manufactureName manufactureMapping[] = {
|
||||||
// ID, "Vendor Country"
|
// ID, "Vendor Country"
|
||||||
{ 0x01, "Motorola UK" },
|
{ 0x01, "Motorola UK" },
|
||||||
|
@ -93,7 +87,6 @@ const manufactureName manufactureMapping[] = {
|
||||||
{ 0x00, "no tag-info available" } // must be the last entry
|
{ 0x00, "no tag-info available" } // must be the last entry
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
// get a product description based on the UID
|
// get a product description based on the UID
|
||||||
// uid[8] tag uid
|
// uid[8] tag uid
|
||||||
// returns description of the best match
|
// returns description of the best match
|
||||||
|
|
|
@ -31,6 +31,12 @@
|
||||||
#include "cmdhfmfu.h"
|
#include "cmdhfmfu.h"
|
||||||
#include "mifarehost.h"
|
#include "mifarehost.h"
|
||||||
|
|
||||||
|
// structure and database for uid -> tagtype lookups
|
||||||
|
typedef struct {
|
||||||
|
uint8_t uid;
|
||||||
|
char* desc;
|
||||||
|
} manufactureName;
|
||||||
|
|
||||||
int CmdHF14A(const char *Cmd);
|
int CmdHF14A(const char *Cmd);
|
||||||
int CmdHF14AList(const char *Cmd);
|
int CmdHF14AList(const char *Cmd);
|
||||||
int CmdHF14AMifare(const char *Cmd);
|
int CmdHF14AMifare(const char *Cmd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue