mirror of https://github.com/rusefi/RomRaider.git
add j2534 support
git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@148 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
parent
7871c05a80
commit
ebe8692e28
|
@ -28,7 +28,7 @@ public final class TestJ2534 {
|
||||||
byte[] ecuInit = {(byte) 0x80, (byte) 0x10, (byte) 0xF0, (byte) 0x01, (byte) 0xBF, (byte) 0x40};
|
byte[] ecuInit = {(byte) 0x80, (byte) 0x10, (byte) 0xF0, (byte) 0x01, (byte) 0xBF, (byte) 0x40};
|
||||||
|
|
||||||
api.writeMsg(channelId, ecuInit);
|
api.writeMsg(channelId, ecuInit);
|
||||||
byte[] response = api.readMsg(channelId);
|
byte[] response = api.readMsg(channelId, 2000);
|
||||||
|
|
||||||
System.out.println("Request = " + asHex(ecuInit));
|
System.out.println("Request = " + asHex(ecuInit));
|
||||||
System.out.println("Response = " + asHex(response));
|
System.out.println("Response = " + asHex(response));
|
||||||
|
|
Loading…
Reference in New Issue