mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: some more commands
This commit is contained in:
parent
5b7b248171
commit
9581317d3a
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue