aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-27 13:31:39 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-27 13:31:39 +1200
commitc60254a4e579a949d3333513d7a2ef4708c9ee1a (patch)
treeb46f17ab6939b078255c53ea182fdcaf00a56a9c /src/org/traccar
parentff1d1e3d8d97212dd82dd7d965d5f3306771c888 (diff)
downloadtraccar-server-c60254a4e579a949d3333513d7a2ef4708c9ee1a.tar.gz
traccar-server-c60254a4e579a949d3333513d7a2ef4708c9ee1a.tar.bz2
traccar-server-c60254a4e579a949d3333513d7a2ef4708c9ee1a.zip
Enable GT06 command encoder
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Gt06Protocol.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gt06Protocol.java b/src/org/traccar/protocol/Gt06Protocol.java
index 0c59f3a0c..7e918ce18 100644
--- a/src/org/traccar/protocol/Gt06Protocol.java
+++ b/src/org/traccar/protocol/Gt06Protocol.java
@@ -38,6 +38,7 @@ public class Gt06Protocol extends BaseProtocol {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("frameDecoder", new Gt06FrameDecoder());
pipeline.addLast("objectDecoder", new Gt06ProtocolDecoder(Gt06Protocol.this));
+ pipeline.addLast("objectEncoder", new Gt06ProtocolEncoder());
}
});
}