Update ASK CTS general info output
This commit is contained in:
1 parent
95dcca671c
commit
b3781a7bbc
3 files changed
+42
-9
No files matched your search
+7
-4
@@ -414,10 +414,13 @@ ISO 7816-4 Basic interindustry commands. For command APDU's.
|
||||
#define ASK_REQT 0x10
|
||||
#define ASK_IDENTIFY 0x0F
|
||||
#define ASK_SELECT 0x9F
|
||||
#define ASK_MULTREAD (0x1 << 4) // High nibble
|
||||
#define ASK_UPDATE (0x3 << 4) // High nibble
|
||||
#define ASK_WRITE (0x5 << 4) // High nibble
|
||||
#define ASK_READ (0x6 << 4) // High nibble
|
||||
#define ASK_CTS_PRODUCT_CODE_CTS256B 0x50
|
||||
#define ASK_CTS_PRODUCT_CODE_CTS512B 0x60
|
||||
#define ASK_BLOCK_ADDRESS_MASK 0x1F
|
||||
#define ASK_MULTREAD (0x1 << 5) // 001 AAAAA
|
||||
#define ASK_UPDATE (0x3 << 5) // 011 AAAAA
|
||||
#define ASK_WRITE (0x5 << 5) // 101 AAAAA
|
||||
#define ASK_READ (0x6 << 5) // 110 AAAAA
|
||||
#define ASK_DESACTIVATE 0xF0
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user