mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
chip manufacturer and type identification: (#796)
* add more manufacturers * refactor chipID decoding * move to separate file taginfo.[ch]
This commit is contained in:
parent
b6851c194e
commit
1338d245c2
10 changed files with 294 additions and 321 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "comms.h"
|
||||
#include "iso14443crc.h"
|
||||
#include "protocols.h"
|
||||
#include "taginfo.h"
|
||||
|
||||
#define TOPAZ_STATIC_MEMORY (0x0f * 8) // 15 blocks with 8 Bytes each
|
||||
|
||||
|
@ -477,7 +478,7 @@ int CmdHFTopazReader(const char *Cmd)
|
|||
topaz_tag.uid[0]);
|
||||
PrintAndLog(" UID[6] (Manufacturer Byte) = %02x, Manufacturer: %s",
|
||||
topaz_tag.uid[6],
|
||||
getTagInfo(topaz_tag.uid[6]));
|
||||
getManufacturerName(topaz_tag.uid[6]));
|
||||
|
||||
memcpy(topaz_tag.data_blocks, rall_response+2, 0x0f*8);
|
||||
PrintAndLog("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue