diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-25 15:44:08 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-25 15:44:08 +0400 |
commit | 8fd45f48667a40a9111d8833f5335cfee4ea1fd5 (patch) | |
tree | 1d6e6771ab9f8dff7439764edcd7816f8a638ce9 /src/org/traccar/protocol/Gps103Protocol.java | |
parent | 8560d199a4440fb83ddbc46b81d0b0b0281d0385 (diff) | |
download | trackermap-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.tar.gz trackermap-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.tar.bz2 trackermap-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.zip |
Support Ericar protocol
Diffstat (limited to 'src/org/traccar/protocol/Gps103Protocol.java')
-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 d112c1170..6272a3fd1 100644 --- a/src/org/traccar/protocol/Gps103Protocol.java +++ b/src/org/traccar/protocol/Gps103Protocol.java @@ -39,7 +39,7 @@ public class Gps103Protocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new CharacterDelimiterFrameDecoder(2048, "\r\n", "\n", ";", "*")); + pipeline.addLast(new CharacterDelimiterFrameDecoder(2048, false, "\r\n", "\n", ";", "*")); pipeline.addLast(new StringEncoder()); pipeline.addLast(new StringDecoder()); pipeline.addLast(new Gps103ProtocolEncoder()); |