aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/RoboTrackProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/RoboTrackProtocolDecoder.java')
-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);
}