nothing
This commit is contained in:
parent
55e79a11a0
commit
202ae81d24
|
@ -3,6 +3,7 @@ package com.rusefi.binaryprotocol.test;
|
||||||
import com.devexperts.logging.Logging;
|
import com.devexperts.logging.Logging;
|
||||||
import com.opensr5.ConfigurationImage;
|
import com.opensr5.ConfigurationImage;
|
||||||
import com.rusefi.binaryprotocol.BinaryProtocol;
|
import com.rusefi.binaryprotocol.BinaryProtocol;
|
||||||
|
import com.rusefi.config.generated.Fields;
|
||||||
import com.rusefi.io.LinkManager;
|
import com.rusefi.io.LinkManager;
|
||||||
import com.rusefi.io.serial.AbstractIoStream;
|
import com.rusefi.io.serial.AbstractIoStream;
|
||||||
import com.rusefi.io.stream.PCanIoStream;
|
import com.rusefi.io.stream.PCanIoStream;
|
||||||
|
@ -10,6 +11,7 @@ import com.rusefi.io.stream.PCanIoStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import static com.devexperts.logging.Logging.getLogging;
|
import static com.devexperts.logging.Logging.getLogging;
|
||||||
|
import static com.rusefi.Timeouts.SECOND;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see Elm327Sandbox
|
* @see Elm327Sandbox
|
||||||
|
@ -22,7 +24,7 @@ public class PCanSandbox {
|
||||||
if (tsStream == null)
|
if (tsStream == null)
|
||||||
throw new IOException("No PCAN");
|
throw new IOException("No PCAN");
|
||||||
|
|
||||||
/*
|
|
||||||
for (int i = 0; i < 17; i++) {
|
for (int i = 0; i < 17; i++) {
|
||||||
String signature = BinaryProtocol.getSignature(tsStream);
|
String signature = BinaryProtocol.getSignature(tsStream);
|
||||||
System.out.println("Got " + i + " " + signature + " signature via PCAN");
|
System.out.println("Got " + i + " " + signature + " signature via PCAN");
|
||||||
|
@ -32,7 +34,6 @@ public class PCanSandbox {
|
||||||
log.info("****************************************");
|
log.info("****************************************");
|
||||||
log.info("********* PCAN LOOKS GREAT ***********");
|
log.info("********* PCAN LOOKS GREAT ***********");
|
||||||
log.info("****************************************");
|
log.info("****************************************");
|
||||||
*/
|
|
||||||
LinkManager linkManager = new LinkManager();
|
LinkManager linkManager = new LinkManager();
|
||||||
/*
|
/*
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
|
@ -49,8 +50,10 @@ public class PCanSandbox {
|
||||||
ConfigurationImage ci = SandboxCommon.readImage(tsStream, linkManager);
|
ConfigurationImage ci = SandboxCommon.readImage(tsStream, linkManager);
|
||||||
log.info("Got ConfigurationImage " + ci);
|
log.info("Got ConfigurationImage " + ci);
|
||||||
|
|
||||||
// System.out.println("We are done");
|
Thread.sleep(5 * SECOND);
|
||||||
// System.exit(0);
|
|
||||||
|
System.out.println("We are done");
|
||||||
|
System.exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue