mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Enhance simulation of ISO15693 devices.
This adds the following things: - support for reading multiple blocks, - configurable block size, - ability to provide a memory image.
This commit is contained in:
parent
745928e609
commit
eef1ce9c33
5 changed files with 113 additions and 22 deletions
|
@ -1259,9 +1259,12 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
case CMD_HF_ISO15693_SIMULATE: {
|
||||
struct p {
|
||||
uint8_t uid[8];
|
||||
uint8_t block_size;
|
||||
int data_length;
|
||||
uint8_t data[PM3_CMD_BLOB_SIZE];
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *) packet->data.asBytes;
|
||||
SimTagIso15693(payload->uid);
|
||||
SimTagIso15693(payload->uid, payload->block_size, payload->data_length, payload->data);
|
||||
break;
|
||||
}
|
||||
case CMD_HF_ISO15693_CSETUID: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue