aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-25 10:39:53 +1300
committerGitHub <noreply@github.com>2016-11-25 10:39:53 +1300
commit34645b739783b4aa2a13cd74516b5deec6597fe1 (patch)
treee97ee0b80c8ba991931c52081cf0ed04f3109dfb
parentf1038fa65fe2befb2a1828c46cab99de6b560f67 (diff)
parentc3f396cc3d7c50f79ead6b1ac07af5d716343002 (diff)
downloadtrackermap-server-34645b739783b4aa2a13cd74516b5deec6597fe1.tar.gz
trackermap-server-34645b739783b4aa2a13cd74516b5deec6597fe1.tar.bz2
trackermap-server-34645b739783b4aa2a13cd74516b5deec6597fe1.zip
Merge pull request #2594 from vipien/master
Images from coban gps not exception.
-rw-r--r--src/org/traccar/protocol/Gps103Protocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Gps103Protocol.java b/src/org/traccar/protocol/Gps103Protocol.java
index 82d42f1c9..e3beb34e5 100644
--- a/src/org/traccar/protocol/Gps103Protocol.java
+++ b/src/org/traccar/protocol/Gps103Protocol.java
@@ -47,7 +47,7 @@ public class Gps103Protocol extends BaseProtocol {
serverList.add(new TrackerServer(new ServerBootstrap(), getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, "\r\n", "\n", ";"));
+ pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(2048, "\r\n", "\n", ";"));
pipeline.addLast("stringEncoder", new StringEncoder());
pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectEncoder", new Gps103ProtocolEncoder());