diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-22 17:01:51 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-22 17:01:51 +1300 |
commit | 65d0cdf1a38861ac4a53b9c7fa6489c20c179df6 (patch) | |
tree | ec5f98e1b1ff6a52161bad7628c4b53f59839524 /src/org/traccar/protocol/Pt60Protocol.java | |
parent | 8eb7ced3563809046d0b569247db490201f7ac98 (diff) | |
download | trackermap-server-65d0cdf1a38861ac4a53b9c7fa6489c20c179df6.tar.gz trackermap-server-65d0cdf1a38861ac4a53b9c7fa6489c20c179df6.tar.bz2 trackermap-server-65d0cdf1a38861ac4a53b9c7fa6489c20c179df6.zip |
Support H002 protocol
Diffstat (limited to 'src/org/traccar/protocol/Pt60Protocol.java')
-rw-r--r-- | src/org/traccar/protocol/Pt60Protocol.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Pt60Protocol.java b/src/org/traccar/protocol/Pt60Protocol.java index 18ea2edb1..c502426c5 100644 --- a/src/org/traccar/protocol/Pt60Protocol.java +++ b/src/org/traccar/protocol/Pt60Protocol.java @@ -28,7 +28,7 @@ public class Pt60Protocol extends BaseProtocol { addServer(new TrackerServer(false, getName()) { @Override protected void addProtocolHandlers(PipelineBuilder pipeline) { - pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, "@R#@")); + pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, "@R#@", "@E#@")); pipeline.addLast(new StringEncoder()); pipeline.addLast(new StringDecoder()); pipeline.addLast(new Pt60ProtocolDecoder(Pt60Protocol.this)); |