updated aem and lc-1 plugins

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@735 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
kascade 2007-07-15 06:44:25 +00:00
parent f7eaa8b0c1
commit d2d835c725
3 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
log4j.rootLogger=info, stdout, file
log4j.rootLogger=trace, stdout, file
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

View File

@ -29,6 +29,7 @@ import static enginuity.io.protocol.SSMProtocol.HEADER;
import static enginuity.io.protocol.SSMProtocol.READ_ADDRESS_RESPONSE;
import static enginuity.io.protocol.SSMProtocol.READ_MEMORY_RESPONSE;
import static enginuity.io.protocol.SSMProtocol.RESPONSE_NON_DATA_BYTES;
import static enginuity.io.protocol.SSMProtocol.WRITE_ADDRESS_RESPONSE;
import enginuity.logger.ecu.exception.InvalidResponseException;
import static enginuity.util.ByteUtil.asByte;
import static enginuity.util.HexUtil.asHex;
@ -60,7 +61,7 @@ public final class SSMResponseProcessor {
assertEquals(DIAGNOSTIC_TOOL_ID, response[i++], "Invalid diagnostic tool id");
assertEquals(ECU_ID, response[i++], "Invalid ECU id");
assertEquals(asByte(response.length - RESPONSE_NON_DATA_BYTES + 1), response[i++], "Invalid response data length");
assertOneOf(new byte[]{READ_ADDRESS_RESPONSE, READ_MEMORY_RESPONSE, ECU_INIT_RESPONSE}, response[i], "Invalid response code");
assertOneOf(new byte[]{ECU_INIT_RESPONSE, READ_ADDRESS_RESPONSE, READ_MEMORY_RESPONSE, WRITE_ADDRESS_RESPONSE}, response[i], "Invalid response code");
assertEquals(calculateChecksum(response), response[response.length - 1], "Invalid checksum");
}

View File

@ -24,6 +24,7 @@ public final class InnovateConnectionProperties implements ConnectionProperties
}
public int getSendTimeout() {
return 82;
// innovate specifies 82 but this isn't enough...
return 200;
}
}