mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Better Command structs
This commit is contained in:
parent
533667ea6d
commit
4e31c6110b
8 changed files with 219 additions and 206 deletions
|
@ -2351,11 +2351,11 @@ int iso14_apdu(uint8_t *cmd, uint16_t cmd_len, bool send_chaining, void *data, u
|
|||
// arg2 timeout
|
||||
// d.asBytes command bytes to send
|
||||
void ReaderIso14443a(UsbCommandNG *c) {
|
||||
iso14a_command_t param = c->core.old.arg[0];
|
||||
size_t len = c->core.old.arg[1] & 0xffff;
|
||||
size_t lenbits = c->core.old.arg[1] >> 16;
|
||||
uint32_t timeout = c->core.old.arg[2];
|
||||
uint8_t *cmd = c->core.old.d.asBytes;
|
||||
iso14a_command_t param = c->oldarg[0];
|
||||
size_t len = c->oldarg[1] & 0xffff;
|
||||
size_t lenbits = c->oldarg[1] >> 16;
|
||||
uint32_t timeout = c->oldarg[2];
|
||||
uint8_t *cmd = c->data.asBytes;
|
||||
uint32_t arg0;
|
||||
uint8_t buf[USB_CMD_DATA_SIZE] = {0x00};
|
||||
uint8_t par[MAX_PARITY_SIZE] = {0x00};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue