Full Optimized – High Speed #4818
This commit is contained in:
parent
3b7b8e3f33
commit
e9a4f71b8c
|
@ -122,7 +122,7 @@ public class TcpServerSandbox {
|
||||||
byte[] response = getOutputCommandResponse(payload, ecuState.outputs);
|
byte[] response = getOutputCommandResponse(payload, ecuState.outputs);
|
||||||
stream.sendPacket(response);
|
stream.sendPacket(response);
|
||||||
} else if (command == Fields.TS_GET_SCATTERED_GET_COMMAND) {
|
} else if (command == Fields.TS_GET_SCATTERED_GET_COMMAND) {
|
||||||
System.out.println("Cool TS_GET_SCATTERED_GET_COMMAND");
|
// System.out.println("Cool TS_GET_SCATTERED_GET_COMMAND");
|
||||||
int startOffset = HIGHSPEEDOFFSETS.getOffset();
|
int startOffset = HIGHSPEEDOFFSETS.getOffset();
|
||||||
int totalResponseSize = 0;
|
int totalResponseSize = 0;
|
||||||
for (int i = 0; i < HIGH_SPEED_COUNT; i++) {
|
for (int i = 0; i < HIGH_SPEED_COUNT; i++) {
|
||||||
|
@ -133,7 +133,7 @@ public class TcpServerSandbox {
|
||||||
totalResponseSize += size;
|
totalResponseSize += size;
|
||||||
|
|
||||||
int twoBytes = getByte(startOffset) + (higherByte & 0x1F) * 256;
|
int twoBytes = getByte(startOffset) + (higherByte & 0x1F) * 256;
|
||||||
System.out.println("TS_GET_SCATTERED_GET_COMMAND index=" + i + " type=" + type + " offset=" + twoBytes);
|
// System.out.println("TS_GET_SCATTERED_GET_COMMAND index=" + i + " type=" + type + " offset=" + twoBytes);
|
||||||
startOffset += 2;
|
startOffset += 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue