aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrique Villafane <villafaneenrique@gmail.com>2016-11-24 17:01:11 -0400
committerEnrique Villafane <villafaneenrique@gmail.com>2016-11-24 17:01:11 -0400
commitc3f396cc3d7c50f79ead6b1ac07af5d716343002 (patch)
tree81fbcb6d5c37710e71538c4951b1aa922ad3484f
parentab1130746e900c3c97d96f15422aa41bad3d1f29 (diff)
downloadtraccar-server-c3f396cc3d7c50f79ead6b1ac07af5d716343002.tar.gz
traccar-server-c3f396cc3d7c50f79ead6b1ac07af5d716343002.tar.bz2
traccar-server-c3f396cc3d7c50f79ead6b1ac07af5d716343002.zip
Add more to CharacterDelimiterFrameDecoder gps103
-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 1caff5a7d..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(1048, "\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());