chg: 'sc reader' - hooked up atr.
This commit is contained in:
1 parent
89352c47c1
commit
fca841122f
6 files changed
+174
-83
No files matched your search
@@ -98,6 +98,14 @@ typedef struct {
|
||||
} state;
|
||||
} nonces_t;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// ISO 7618 Smart Card
|
||||
//-----------------------------------------------------------------------------
|
||||
typedef struct {
|
||||
uint8_t atr_len;
|
||||
uint8_t atr[30];
|
||||
} __attribute__((__packed__)) smart_card_atr_t;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// FeliCa
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
+2
-1
@@ -76,9 +76,10 @@ typedef struct{
|
||||
#define CMD_INFO_FLASH_MEM 0x0125
|
||||
|
||||
// RDV40, Smart card operations
|
||||
#define CMD_SMART_SEND 0x0140
|
||||
#define CMD_SMART_RAW 0x0140
|
||||
#define CMD_SMART_UPGRADE 0x0141
|
||||
#define CMD_SMART_UPLOAD 0x0142
|
||||
#define CMD_SMART_ATR 0x0143
|
||||
|
||||
// For low-frequency tags
|
||||
#define CMD_READ_TI_TYPE 0x0202
|
||||
|
||||
Reference in new issue
Block a user