mirror of https://github.com/rusefi/RomRaider.git
response data extraction for ssm started
git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@198 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
parent
b966a5776f
commit
3e208be5e5
|
@ -34,6 +34,7 @@ public final class SSMProtocol implements Protocol {
|
||||||
}
|
}
|
||||||
|
|
||||||
public byte[] extractResponseData(byte[] response, byte[] request) {
|
public byte[] extractResponseData(byte[] response, byte[] request) {
|
||||||
|
checkNotNullOrEmpty(response, "response");
|
||||||
// 0x80 0xF0 0x10 data_length response_data checksum
|
// 0x80 0xF0 0x10 data_length response_data checksum
|
||||||
//TODO: Take possible echoed request into account when extracting response!!
|
//TODO: Take possible echoed request into account when extracting response!!
|
||||||
validateResponse(response);
|
validateResponse(response);
|
||||||
|
|
Loading…
Reference in New Issue