From d4796d8d1026ed0e2f8c129d53a865ed7410ef6c Mon Sep 17 00:00:00 2001 From: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com> Date: Fri, 29 May 2026 12:15:54 +0300 Subject: [PATCH] Increase delay for ExchangeRaw14A This function is primarily used by Mifare Plus auths. One problem that is present is when using keys 9002 or 9003 to upgrade a card to a new security level, the card will likely spend more time than usual adjusting all settings before it replies, as such causing a timeout. This increase fixes that. Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com> --- client/src/cmdhf14a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhf14a.c b/client/src/cmdhf14a.c index 712cfd6a4..6df7e0136 100644 --- a/client/src/cmdhf14a.c +++ b/client/src/cmdhf14a.c @@ -1163,7 +1163,7 @@ int ExchangeRAW14a(uint8_t *datain, int datainlen, bool activateField, bool leav uint8_t *recv; PacketResponseNG resp; resend: - if (WaitForResponseTimeout(CMD_ACK, &resp, 1500)) { + if (WaitForResponseTimeout(CMD_ACK, &resp, 7000)) { recv = resp.data.asBytes; int iLen = resp.oldarg[0];