aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-02-06 11:46:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-02-06 11:46:02 +1300
commita40d11eb40da51919eb21bef57865b149d4c3d2d (patch)
treef802fe156eff0f64914f702e02b7dcd81769bf59 /src/org
parent5a11de47a894bc27dc7c52c0befa10a5011c400b (diff)
downloadtrackermap-server-a40d11eb40da51919eb21bef57865b149d4c3d2d.tar.gz
trackermap-server-a40d11eb40da51919eb21bef57865b149d4c3d2d.tar.bz2
trackermap-server-a40d11eb40da51919eb21bef57865b149d4c3d2d.zip
Add Navigil unit tests
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/NavigilProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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());