chip manufacturer and type identification: (#796)

* add more manufacturers
* refactor chipID decoding
* move to separate file taginfo.[ch]
This commit is contained in:
pwpiwi 2019-03-03 11:59:38 +01:00 committed by GitHub
commit 1338d245c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 294 additions and 321 deletions

13
client/taginfo.h Normal file
View file

@ -0,0 +1,13 @@
//-----------------------------------------------------------------------------
// ISO/IEC 7816-6 manufacturer byte decoding
//-----------------------------------------------------------------------------
#ifndef MANUFACTURERS_H__
#define MANUFACTURERS_H__
#include <stdint.h>
extern char *getManufacturerName(uint8_t vendorID);
extern char *getChipInfo(uint8_t vendorID, uint8_t chipID);
#endif