From 7082e7551d87c8406625fff7fcba834e68818c13 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 18 Jan 2012 16:36:18 +0000 Subject: Typo? According to spec, highest bit set to 1 means system unit=byte git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1007 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smcc') 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 1ca28242..d7fdc17f 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 @@ -551,7 +551,7 @@ public class PinpadCardReader extends DefaultCardReader { s.write((0xF & apduSpec.getPinLengthSize()) << 4 | (0xF & apduSpec.getPinLength())); // bmPINLengthFormat - s.write(// system unit = bit + s.write(// system unit = byte (0xF & apduSpec.getPinLengthPos())); // wPINMaxExtraDigit (little endian) s.write(Math.min(pinSpec.getMaxLength(), wPINMaxExtraDigitMax)); // max PIN length -- cgit v1.2.3