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 committed 2025-06-12 19:42:56 +08:00
1 parent 2ca43e0e2d
commit 0378d91595
3 files changed
+4 -7

No files matched your search

+1 -4
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: