move strucrture to .h file

This commit is contained in:
merlokk 2017-10-31 16:25:42 +02:00
parent 6fc6cd0f57
commit a23f000182
2 changed files with 6 additions and 7 deletions

View file

@ -14,12 +14,6 @@
static int CmdHelp(const char *Cmd);
static int waitCmd(uint8_t iLen);
// structure and database for uid -> tagtype lookups
typedef struct {
uint8_t uid;
char* desc;
} manufactureName;
const manufactureName manufactureMapping[] = {
// ID, "Vendor Country"
{ 0x01, "Motorola UK" },
@ -93,7 +87,6 @@ const manufactureName manufactureMapping[] = {
{ 0x00, "no tag-info available" } // must be the last entry
};
// get a product description based on the UID
// uid[8] tag uid
// returns description of the best match

View file

@ -31,6 +31,12 @@
#include "cmdhfmfu.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 CmdHF14AList(const char *Cmd);
int CmdHF14AMifare(const char *Cmd);