diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-25 12:42:46 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-04-25 12:42:46 +1200 |
commit | a84599dc192056639baaed4c529c8f106a499e28 (patch) | |
tree | ab43b666b4459f72b90febb0ad066a69a7f2e8fe /src/org/traccar | |
parent | 9ea2dbe8400bd1ab30451e3dc2b85aa7a583a8e1 (diff) | |
download | traccar-server-a84599dc192056639baaed4c529c8f106a499e28.tar.gz traccar-server-a84599dc192056639baaed4c529c8f106a499e28.tar.bz2 traccar-server-a84599dc192056639baaed4c529c8f106a499e28.zip |
Correct AVL301 frame decoder
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 5e549b177..6e398b87a 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -1309,7 +1309,7 @@ public class ServerManager { serverList.add(new TrackerServer(new ServerBootstrap(), protocol) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(256, 2, 1, 2, 0)); + pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(256, 2, 1, -3, 0)); pipeline.addLast("objectDecoder", new Avl301ProtocolDecoder(protocol)); } }); |