aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Ardi01Protocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-02 06:21:30 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-02 06:21:30 +1300
commit262069d02c8fa1a5848fab749a617bc53b928c70 (patch)
tree8a4703a73876088b90c35e11bada3accf58cb557 /src/org/traccar/protocol/Ardi01Protocol.java
parent70a3fd581b79556b3feb083d79228384efdf66d2 (diff)
downloadtrackermap-server-262069d02c8fa1a5848fab749a617bc53b928c70.tar.gz
trackermap-server-262069d02c8fa1a5848fab749a617bc53b928c70.tar.bz2
trackermap-server-262069d02c8fa1a5848fab749a617bc53b928c70.zip
Change TK102 protocol to binary
Diffstat (limited to 'src/org/traccar/protocol/Ardi01Protocol.java')
-rw-r--r--src/org/traccar/protocol/Ardi01Protocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Ardi01Protocol.java b/src/org/traccar/protocol/Ardi01Protocol.java
index 5b7770647..66916db17 100644
--- a/src/org/traccar/protocol/Ardi01Protocol.java
+++ b/src/org/traccar/protocol/Ardi01Protocol.java
@@ -37,8 +37,8 @@ public class Ardi01Protocol extends BaseProtocol {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("frameDecoder", new LineBasedFrameDecoder(1024));
- pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("stringEncoder", new StringEncoder());
+ pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectDecoder", new Ardi01ProtocolDecoder(Ardi01Protocol.this));
}
});