mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
chg: 'hf felica reader' the felica_select_card struct got more properties
This commit is contained in:
parent
bf25b1c9ba
commit
b06579e0d5
1 changed files with 24 additions and 1 deletions
|
@ -92,8 +92,31 @@ typedef struct {
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// FeliCa
|
// FeliCa
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
// IDm = ID manufacturer
|
||||||
|
// mc = manufactureCode
|
||||||
|
// mc1 mc2 u1 u2 u3 u4 u5 u6
|
||||||
|
// PMm = Product manufacturer
|
||||||
|
// icCode =
|
||||||
|
// ic1 = ROM
|
||||||
|
// ic2 = IC
|
||||||
|
// maximum response time =
|
||||||
|
// B3(request service)
|
||||||
|
// B4(request response)
|
||||||
|
// B5(authenticate)
|
||||||
|
// B6(read)
|
||||||
|
// B7(write)
|
||||||
|
// B8()
|
||||||
|
|
||||||
|
// ServiceCode 2bytes (access-rights)
|
||||||
|
// FileSystem = 1 Block = 16 bytes
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t uid[8];
|
uint8_t IDm[8];
|
||||||
|
uint8_t code[2];
|
||||||
|
uint8_t uid[6];
|
||||||
|
uint8_t PMm[8];
|
||||||
|
uint8_t iccode[2];
|
||||||
|
uint8_t mrt[6];
|
||||||
|
uint8_t servicecode[2];
|
||||||
} __attribute__((__packed__)) felica_card_select_t;
|
} __attribute__((__packed__)) felica_card_select_t;
|
||||||
|
|
||||||
typedef enum FELICA_COMMAND {
|
typedef enum FELICA_COMMAND {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue