diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-06 11:46:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-06 11:46:02 +1300 |
commit | a40d11eb40da51919eb21bef57865b149d4c3d2d (patch) | |
tree | f802fe156eff0f64914f702e02b7dcd81769bf59 /src/org | |
parent | 5a11de47a894bc27dc7c52c0befa10a5011c400b (diff) | |
download | traccar-server-a40d11eb40da51919eb21bef57865b149d4c3d2d.tar.gz traccar-server-a40d11eb40da51919eb21bef57865b149d4c3d2d.tar.bz2 traccar-server-a40d11eb40da51919eb21bef57865b149d4c3d2d.zip |
Add Navigil unit tests
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/NavigilProtocolDecoder.java | 2 |
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()); |