aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Server.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/Server.java')
-rw-r--r--src/org/traccar/Server.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java
index 07296d945..96d994fbd 100644
--- a/src/org/traccar/Server.java
+++ b/src/org/traccar/Server.java
@@ -829,8 +829,8 @@ public class Server {
server.setPipelineFactory(new GenericPipelineFactory(server, dataManager, isLoggerEnabled(), resetDelay, geocoder) {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(4 * 1024, 12, 2, 2, 0));
- pipeline.addLast("objectDecoder", new NavisProtocolDecoder(getDataManager()));
+ pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 1, 2, 0));
+ pipeline.addLast("objectDecoder", new Gt02ProtocolDecoder(getDataManager()));
}
});