chg: 'sc reader' - hooked up atr.
This commit is contained in:
@@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -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