aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:44:08 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:44:08 +0400
commit8fd45f48667a40a9111d8833f5335cfee4ea1fd5 (patch)
tree1d6e6771ab9f8dff7439764edcd7816f8a638ce9 /src/org/traccar/protocol/Gps103Protocol.java
parent8560d199a4440fb83ddbc46b81d0b0b0281d0385 (diff)
downloadtrackermap-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.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 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());