diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-08 23:57:59 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-08 23:57:59 +1200 |
commit | fb543fb413652f4cb0408a6caafbdd7f4a4ca369 (patch) | |
tree | bda13c8001013f586ec7062608addf1b7e5a83ed /src/org/traccar/protocol/NavisProtocol.java | |
parent | ecb7bb33fcec52491f917dbc65a82990dcddb808 (diff) | |
download | trackermap-server-fb543fb413652f4cb0408a6caafbdd7f4a4ca369.tar.gz trackermap-server-fb543fb413652f4cb0408a6caafbdd7f4a4ca369.tar.bz2 trackermap-server-fb543fb413652f4cb0408a6caafbdd7f4a4ca369.zip |
Migrate R and S protocols
Diffstat (limited to 'src/org/traccar/protocol/NavisProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/NavisProtocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/NavisProtocol.java b/src/org/traccar/protocol/NavisProtocol.java index fd306ee9f..92b705517 100644 --- a/src/org/traccar/protocol/NavisProtocol.java +++ b/src/org/traccar/protocol/NavisProtocol.java @@ -35,7 +35,7 @@ public class NavisProtocol extends BaseProtocol { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { pipeline.addLast("frameDecoder", - new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 4 * 1024, 12, 2, 2, 0, false)); + new LengthFieldBasedFrameDecoder(ByteOrder.LITTLE_ENDIAN, 4 * 1024, 12, 2, 2, 0, true)); pipeline.addLast("objectDecoder", new NavisProtocolDecoder(NavisProtocol.this)); } }); |