mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
add: 'hf 14b raw' - added -t timeout option. see https://github.com/RfidResearchGroup/proxmark3/issues/125
This commit is contained in:
parent
35bc4a975e
commit
1d63258388
3 changed files with 30 additions and 5 deletions
|
@ -1570,6 +1570,7 @@ void iso14b_set_trigger(bool enable) {
|
|||
void SendRawCommand14443B_Ex(UsbCommand *c) {
|
||||
iso14b_command_t param = c->arg[0];
|
||||
size_t len = c->arg[1] & 0xffff;
|
||||
uint32_t timeout = c->arg[2];
|
||||
uint8_t *cmd = c->d.asBytes;
|
||||
uint8_t status = 0;
|
||||
uint32_t sendlen = sizeof(iso14b_card_select_t);
|
||||
|
@ -1585,6 +1586,9 @@ void SendRawCommand14443B_Ex(UsbCommand *c) {
|
|||
iso14443b_setup();
|
||||
clear_trace();
|
||||
}
|
||||
|
||||
if ((param & ISO14B_SET_TIMEOUT))
|
||||
iso14b_set_timeout(timeout);
|
||||
|
||||
set_tracing(true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue