diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 11:49:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-10-17 11:49:24 +1300 |
commit | 7eda7ec149136829911c154a3ed8d71e3825609a (patch) | |
tree | 39d6268a16233ebfd02cc8f1eb9cbb28c1ac1d25 /src/org/traccar/protocol | |
parent | fac0cc89583d9294285af84853b2f9e7a02fb46c (diff) | |
download | traccar-server-7eda7ec149136829911c154a3ed8d71e3825609a.tar.gz traccar-server-7eda7ec149136829911c154a3ed8d71e3825609a.tar.bz2 traccar-server-7eda7ec149136829911c154a3ed8d71e3825609a.zip |
Add Ericar alternative delimiter
Diffstat (limited to 'src/org/traccar/protocol')
-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 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()); |