diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-13 05:57:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-07-13 05:57:21 +1200 |
commit | beffaa1bcb14965e34d533cf7c771886c5832391 (patch) | |
tree | 1cf326a5865dd77433599393d5d1942b230bba0c /src/org/traccar/protocol/TeltonikaProtocol.java | |
parent | eee59141bd21d929467819a8eb6c904140efceaa (diff) | |
download | trackermap-server-beffaa1bcb14965e34d533cf7c771886c5832391.tar.gz trackermap-server-beffaa1bcb14965e34d533cf7c771886c5832391.tar.bz2 trackermap-server-beffaa1bcb14965e34d533cf7c771886c5832391.zip |
Add Teltonika UDP tests
Diffstat (limited to 'src/org/traccar/protocol/TeltonikaProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/TeltonikaProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TeltonikaProtocol.java b/src/org/traccar/protocol/TeltonikaProtocol.java index 524e6d5b5..d0177da97 100644 --- a/src/org/traccar/protocol/TeltonikaProtocol.java +++ b/src/org/traccar/protocol/TeltonikaProtocol.java @@ -39,14 +39,14 @@ public class TeltonikaProtocol extends BaseProtocol { protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("frameDecoder", new TeltonikaFrameDecoder()); pipeline.addLast("objectEncoder", new TeltonikaProtocolEncoder()); - pipeline.addLast("objectDecoder", new TeltonikaProtocolDecoder(TeltonikaProtocol.this)); + pipeline.addLast("objectDecoder", new TeltonikaProtocolDecoder(TeltonikaProtocol.this, false)); } }); serverList.add(new TrackerServer(new ConnectionlessBootstrap(), getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("objectEncoder", new TeltonikaProtocolEncoder()); - pipeline.addLast("objectDecoder", new TeltonikaProtocolDecoder(TeltonikaProtocol.this)); + pipeline.addLast("objectDecoder", new TeltonikaProtocolDecoder(TeltonikaProtocol.this, true)); } }); } |