aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TelicProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-22 10:39:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-22 10:39:02 +1300
commit547246a76bfe48d21b89164b0dd674e06bf3d6ab (patch)
tree1505d99cd26d3fdab888b941caef4a776202083f /src/org/traccar/protocol/TelicProtocol.java
parent2c8223bed1ae6ed809a50a4e459e3cc50068bd86 (diff)
downloadtrackermap-server-547246a76bfe48d21b89164b0dd674e06bf3d6ab.tar.gz
trackermap-server-547246a76bfe48d21b89164b0dd674e06bf3d6ab.tar.bz2
trackermap-server-547246a76bfe48d21b89164b0dd674e06bf3d6ab.zip
Add Telic custom frame decoder
Diffstat (limited to 'src/org/traccar/protocol/TelicProtocol.java')
-rw-r--r--src/org/traccar/protocol/TelicProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TelicProtocol.java b/src/org/traccar/protocol/TelicProtocol.java
index b2139c54c..6b8abcaeb 100644
--- a/src/org/traccar/protocol/TelicProtocol.java
+++ b/src/org/traccar/protocol/TelicProtocol.java
@@ -36,7 +36,7 @@ public class TelicProtocol extends BaseProtocol {
TrackerServer server = new TrackerServer(new ServerBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
- pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 0, 4, 1, 4));
+ pipeline.addLast("frameDecoder", new TelicFrameDecoder());
pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectDecoder", new TelicProtocolDecoder(TelicProtocol.this));
}