add j2534 support

git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@148 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
kascade 2008-09-20 21:34:33 +00:00
parent 7871c05a80
commit ebe8692e28
1 changed files with 1 additions and 1 deletions

View File

@ -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));