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:
Antiklesys 2025-06-12 19:42:56 +08:00
commit 0378d91595
3 changed files with 4 additions and 7 deletions

View file

@ -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: