diff --git a/internal/cloud/apdu.go b/internal/cloud/apdu.go index 11a90a1..ee340e3 100644 --- a/internal/cloud/apdu.go +++ b/internal/cloud/apdu.go @@ -42,7 +42,7 @@ func (a *apdu) Transmit(command string) (string, error) { select { case r := <-a.receiver: return hex.EncodeToString(r), nil - case <-time.After(1 * time.Minute): // If response is not received in 1 minute, return a timeout error. + case <-time.After(2 * time.Minute): // If response is not received in 2 minutes, return a timeout error. slog.Debug("wait for APDU command response timeout", "conn", a.conn.Id, "command", command, "response", APDUCommunicateTimeout) return hex.EncodeToString([]byte(APDUCommunicateTimeout)), nil }