Add hf iclass creditepurse command to allow crediting the epurse debit value.
This commit is contained in:
1 parent
b59fad842b
commit
186308cb4a
10 files changed
+318
-6
No files matched your search
@@ -87,6 +87,12 @@ typedef struct {
|
||||
uint8_t mac[4];
|
||||
} PACKED iclass_writeblock_req_t;
|
||||
|
||||
// iCLASS write block request data structure
|
||||
typedef struct {
|
||||
iclass_auth_req_t req;
|
||||
uint8_t epurse[4];
|
||||
} PACKED iclass_credit_epurse_t;
|
||||
|
||||
// iCLASS dump data structure
|
||||
typedef struct {
|
||||
uint8_t blockno;
|
||||
|
||||
+2
-1
@@ -565,7 +565,7 @@ typedef struct {
|
||||
|
||||
#define CMD_HF_EPA_COLLECT_NONCE 0x038A
|
||||
#define CMD_HF_EPA_REPLAY 0x038B
|
||||
#define CMD_HF_EPA_PACE_SIMULATE 0x039C
|
||||
#define CMD_HF_EPA_PACE_SIMULATE 0x038C
|
||||
|
||||
#define CMD_HF_LEGIC_INFO 0x03BC
|
||||
#define CMD_HF_LEGIC_ESET 0x03BD
|
||||
@@ -581,6 +581,7 @@ typedef struct {
|
||||
#define CMD_HF_ICLASS_EML_MEMSET 0x0398
|
||||
#define CMD_HF_ICLASS_CHKKEYS 0x039A
|
||||
#define CMD_HF_ICLASS_RESTORE 0x039B
|
||||
#define CMD_HF_ICLASS_CREDIT_EPURSE 0x039C
|
||||
|
||||
// For ISO1092 / FeliCa
|
||||
#define CMD_HF_FELICA_SIMULATE 0x03A0
|
||||
|
||||
Reference in new issue
Block a user