diff options
author | Enrique Villafane <villafaneenrique@gmail.com> | 2016-11-23 16:58:25 -0400 |
---|---|---|
committer | Enrique Villafane <villafaneenrique@gmail.com> | 2016-11-23 16:58:25 -0400 |
commit | ab1130746e900c3c97d96f15422aa41bad3d1f29 (patch) | |
tree | 125a2f38609083458b4d321575f09cac1b40d3e8 /src/org | |
parent | dbbe99269140f057d3f72acca557730a6b10e902 (diff) | |
download | traccar-server-ab1130746e900c3c97d96f15422aa41bad3d1f29.tar.gz traccar-server-ab1130746e900c3c97d96f15422aa41bad3d1f29.tar.bz2 traccar-server-ab1130746e900c3c97d96f15422aa41bad3d1f29.zip |
Images from coban gps not exception.
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/Gps103Protocol.java | 2 |
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..1caff5a7d 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(1048, "\r\n", "\n", ";")); pipeline.addLast("stringEncoder", new StringEncoder()); pipeline.addLast("stringDecoder", new StringDecoder()); pipeline.addLast("objectEncoder", new Gps103ProtocolEncoder()); |