diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2014-04-14 23:35:55 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2014-04-14 23:35:55 +1200 |
commit | 771866c000cbe17fc90590479186f73e1edbd493 (patch) | |
tree | 03bc33c65d647a4f49d5eb4eca31c985d8338140 /src/org/traccar/ServerManager.java | |
parent | d998f74d1153630090b173d4d74cd9f776ccd95d (diff) | |
download | trackermap-server-771866c000cbe17fc90590479186f73e1edbd493.tar.gz trackermap-server-771866c000cbe17fc90590479186f73e1edbd493.tar.bz2 trackermap-server-771866c000cbe17fc90590479186f73e1edbd493.zip |
Add GT06 frame decoder (fix #655)
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-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 1dfe5e3d6..7558b1f31 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -559,7 +559,7 @@ public class ServerManager { serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(256, 2, 1, 2, 0)); + pipeline.addLast("frameDecoder", new Gt06FrameDecoder()); pipeline.addLast("objectDecoder", new Gt06ProtocolDecoder(ServerManager.this)); } }); |