diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-11-04 17:39:01 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2010-11-04 17:39:01 +0000 |
commit | 3657535cd2f7ee2ba6f86221286d208ad4c0e39e (patch) | |
tree | 723aeed674cc0cd0c3960ca3de196a2dfc0e20c8 /smcc/src/main/java/at | |
parent | f1df66711b7e81159ac0a998f2764efb55fc468d (diff) | |
download | mocca-3657535cd2f7ee2ba6f86221286d208ad4c0e39e.tar.gz mocca-3657535cd2f7ee2ba6f86221286d208ad4c0e39e.tar.bz2 mocca-3657535cd2f7ee2ba6f86221286d208ad4c0e39e.zip |
Cherry ST-2xxx (windows) timeouts
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@819 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main/java/at')
-rw-r--r-- | smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java | 7 |
1 files changed, 7 insertions, 0 deletions
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 |