chg: some more commands
This commit is contained in:
@@ -395,7 +395,7 @@ int GetHFMF14AUID(uint8_t *uid, int *uidlen) {
|
||||
iso14a_card_select_t card;
|
||||
memcpy(&card, (iso14a_card_select_t *)resp.d.asBytes, sizeof(iso14a_card_select_t));
|
||||
memcpy(uid, card.uid, card.uidlen * sizeof(uint8_t));
|
||||
*uidlen=card.uidlen;
|
||||
*uidlen = card.uidlen;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,11 +56,13 @@ typedef struct {
|
||||
#define CMD_DOWNLOAD_EML_BIGBUF 0x0110
|
||||
#define CMD_DOWNLOADED_EML_BIGBUF 0x0111
|
||||
|
||||
// For Flash memory operations
|
||||
// RDV40, Flash memory operations
|
||||
#define CMD_READ_FLASH_MEM 0x0120
|
||||
#define CMD_WRITE_FLASH_MEM 0x0121
|
||||
#define CMD_WIPE_FLASH_MEM 0x0122
|
||||
#define CMD_DOWNLOAND_FLASH_MEM 0x0123
|
||||
#define CMD_DOWNLOADED_FLASHMEM 0x0124
|
||||
#define CMD_INFO_FLASH_MEM 0x0125
|
||||
|
||||
// For low-frequency tags
|
||||
#define CMD_READ_TI_TYPE 0x0202
|
||||
|
||||
Reference in New Issue
Block a user