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:
kascade 2006-07-29 12:23:03 +00:00
parent b966a5776f
commit 3e208be5e5
1 changed files with 1 additions and 0 deletions

View File

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