From 3657535cd2f7ee2ba6f86221286d208ad4c0e39e Mon Sep 17 00:00:00 2001 From: clemenso Date: Thu, 4 Nov 2010 17:39:01 +0000 Subject: Cherry ST-2xxx (windows) timeouts git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@819 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'smcc/src/main/java/at/gv/egiz') diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java index 7bb466ff..2979bd03 100644 --- a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java +++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java @@ -114,6 +114,13 @@ public class PinpadCardReader extends DefaultCardReader { } else if (name.startsWith("cherry smartboard xx44")) { log.trace("Setting custom wPINMaxExtraDigitH (0x01) for {}.", name); wPINMaxExtraDigitMin = 0x01; + } else if (name.startsWith("cherry gmbh smartterminal st-2xxx")) { + // Win: Cherry GmbH SmartTerminal ST-2xxx 0 + // Linux(?): Cherry SmartTerminal ST-2XXX (21121010102014) 00 00 + log.trace("Setting custom bTimeOut (0x3c) for {}.", name); + bTimeOut = 0x3c; + log.trace("Setting custom bTimeOut2 (0x0f) for {}.", name); + bTimeOut2 = 0x0f; } //TODO Kobil KAAN Advanced seems to have an issue, //cf. http://www.buergerkarte.at/mvnforum/mvnforum/viewthread?thread=255 -- cgit v1.2.3