aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 11:49:24 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-17 11:49:24 +1300
commit7eda7ec149136829911c154a3ed8d71e3825609a (patch)
tree39d6268a16233ebfd02cc8f1eb9cbb28c1ac1d25 /src/org/traccar/protocol/Gps103Protocol.java
parentfac0cc89583d9294285af84853b2f9e7a02fb46c (diff)
downloadtrackermap-server-7eda7ec149136829911c154a3ed8d71e3825609a.tar.gz
trackermap-server-7eda7ec149136829911c154a3ed8d71e3825609a.tar.bz2
trackermap-server-7eda7ec149136829911c154a3ed8d71e3825609a.zip
Add Ericar alternative delimiter
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 8e9e0ea70..db778e699 100644
--- a/src/org/traccar/protocol/Gps103Protocol.java
+++ b/src/org/traccar/protocol/Gps103Protocol.java
@@ -46,7 +46,7 @@ public class Gps103Protocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast(new CharacterDelimiterFrameDecoder(2048, "\r\n", "\n", ";"));
+ pipeline.addLast(new CharacterDelimiterFrameDecoder(2048, "\r\n", "\n", ";", "*"));
pipeline.addLast(new StringEncoder());
pipeline.addLast(new StringDecoder());
pipeline.addLast(new Gps103ProtocolEncoder());