From 848dd7a6126b4574dc916f688445c423e37fa282 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 28 Mar 2018 00:47:47 +1300 Subject: Hardcode RoboTrack response --- src/org/traccar/protocol/RoboTrackProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3