From a40d11eb40da51919eb21bef57865b149d4c3d2d Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 6 Feb 2013 11:46:02 +1300 Subject: Add Navigil unit tests --- src/org/traccar/protocol/NavigilProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') diff --git a/src/org/traccar/protocol/NavigilProtocolDecoder.java b/src/org/traccar/protocol/NavigilProtocolDecoder.java index 3e116486f..58ea6e577 100644 --- a/src/org/traccar/protocol/NavigilProtocolDecoder.java +++ b/src/org/traccar/protocol/NavigilProtocolDecoder.java @@ -63,7 +63,7 @@ public class NavigilProtocolDecoder extends BaseProtocolDecoder { data.writeShort(0); // OK ChannelBuffer header = ChannelBuffers.directBuffer(ByteOrder.LITTLE_ENDIAN, 20); - header.writeByte(1); header.writeByte(1); + header.writeByte(1); header.writeByte(0); header.writeShort(senderSequenceNumber++); header.writeShort(MESSAGE_ACKNOWLEDGEMENT); header.writeShort(header.capacity() + data.capacity()); -- cgit v1.2.3