mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Minor iclass sam comms tweaks
1- Removed timeout on client side to allow the sam to be slow in responding 2- Increased SIM_WAIT_DELAY to allow for bigger sam responses
This commit is contained in:
parent
2ca43e0e2d
commit
0378d91595
3 changed files with 4 additions and 7 deletions
|
@ -5961,10 +5961,7 @@ static int CmdHFiClassSAM(const char *Cmd) {
|
|||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_HF_SAM_PICOPASS, data, cmdlen + 1);
|
||||
PacketResponseNG resp;
|
||||
if (WaitForResponseTimeout(CMD_HF_SAM_PICOPASS, &resp, 4000) == false) {
|
||||
PrintAndLogEx(WARNING, "SAM timeout");
|
||||
return PM3_ETIMEOUT;
|
||||
}
|
||||
WaitForResponse(CMD_HF_SAM_PICOPASS, &resp);
|
||||
|
||||
switch (resp.status) {
|
||||
case PM3_SUCCESS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue