From e46423df70095f8f506bd0ed917c16e37a21996f Mon Sep 17 00:00:00 2001 From: rusefi Date: Fri, 26 May 2017 23:11:55 -0400 Subject: [PATCH] #429 --- .../io/src/com/rusefi/io/tcp/BinaryProtocolServer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java_console/io/src/com/rusefi/io/tcp/BinaryProtocolServer.java b/java_console/io/src/com/rusefi/io/tcp/BinaryProtocolServer.java index 0b0174e6d8..5ee37b4a41 100644 --- a/java_console/io/src/com/rusefi/io/tcp/BinaryProtocolServer.java +++ b/java_console/io/src/com/rusefi/io/tcp/BinaryProtocolServer.java @@ -123,6 +123,10 @@ public class BinaryProtocolServer { } } else if (command == BinaryProtocol.COMMAND_OUTPUTS) { + if (1==1) + throw new UnsupportedOperationException("offset and count not supported see #429"); + // todo: new version with offset and + byte[] response = new byte[1 + Fields.TS_OUTPUT_SIZE]; response[0] = (byte) TS_OK.charAt(0); byte[] currentOutputs = BinaryProtocol.currentOutputs;