aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WristbandProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-12-28 09:49:49 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2018-12-28 09:49:49 -0800
commitb29bf8bcea11fb154da54b8d2f11fd2fd8517ef8 (patch)
treecac7e488bf819503749478f6f3ee13cd99734086 /src/org/traccar/protocol/WristbandProtocol.java
parent27c565546b9f0fe820af6e46a2562f4e23319ee2 (diff)
downloadtrackermap-server-b29bf8bcea11fb154da54b8d2f11fd2fd8517ef8.tar.gz
trackermap-server-b29bf8bcea11fb154da54b8d2f11fd2fd8517ef8.tar.bz2
trackermap-server-b29bf8bcea11fb154da54b8d2f11fd2fd8517ef8.zip
Fix Wristband protocol response
Diffstat (limited to 'src/org/traccar/protocol/WristbandProtocol.java')
-rw-r--r--src/org/traccar/protocol/WristbandProtocol.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/WristbandProtocol.java b/src/org/traccar/protocol/WristbandProtocol.java
index 632eb6a42..1e5ef2c01 100644
--- a/src/org/traccar/protocol/WristbandProtocol.java
+++ b/src/org/traccar/protocol/WristbandProtocol.java
@@ -16,7 +16,6 @@
package org.traccar.protocol;
import io.netty.handler.codec.LengthFieldBasedFrameDecoder;
-import io.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.PipelineBuilder;
import org.traccar.TrackerServer;
@@ -28,7 +27,6 @@ public class WristbandProtocol extends BaseProtocol {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
pipeline.addLast(new LengthFieldBasedFrameDecoder(1024, 3, 2, 3, 0));
- pipeline.addLast(new StringEncoder());
pipeline.addLast(new WristbandProtocolDecoder(WristbandProtocol.this));
}
});