aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-28 00:47:47 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-28 00:47:47 +1300
commit848dd7a6126b4574dc916f688445c423e37fa282 (patch)
treee65fe8da3f72cc723afe06edc23e2da0fd88687b
parent2af34372442ae1ab15bb280c235b857977b6c1a3 (diff)
downloadtrackermap-server-848dd7a6126b4574dc916f688445c423e37fa282.tar.gz
trackermap-server-848dd7a6126b4574dc916f688445c423e37fa282.tar.bz2
trackermap-server-848dd7a6126b4574dc916f688445c423e37fa282.zip
Hardcode RoboTrack response
-rw-r--r--src/org/traccar/protocol/RoboTrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/RoboTrackProtocolDecoder.java b/src/org/traccar/protocol/RoboTrackProtocolDecoder.java
index 323928116..4a3d40a3c 100644
--- a/src/org/traccar/protocol/RoboTrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/RoboTrackProtocolDecoder.java
@@ -64,7 +64,7 @@ public class RoboTrackProtocolDecoder extends BaseProtocolDecoder {
ChannelBuffer response = ChannelBuffers.dynamicBuffer(ByteOrder.LITTLE_ENDIAN, 0);
response.writeByte(MSG_ACK);
response.writeByte(0x01); // success
- response.writeByte(Checksum.crc8(Checksum.CRC8_ROHC, response.toByteBuffer()));
+ response.writeByte(0x66); // checksum
channel.write(response);
}