diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-10 21:24:01 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-04-10 21:24:01 +1200 |
commit | a946d34d83b76023dcf7cbec23519078a1169749 (patch) | |
tree | be4a0b530a2ce16e94660c126b180e547fc89362 /src/org/traccar/ServerManager.java | |
parent | 0cae348c40cfc68fac70e8a095733fa4d5955601 (diff) | |
download | traccar-server-a946d34d83b76023dcf7cbec23519078a1169749.tar.gz traccar-server-a946d34d83b76023dcf7cbec23519078a1169749.tar.bz2 traccar-server-a946d34d83b76023dcf7cbec23519078a1169749.zip |
Add P10 support (fix #205)
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r-- | src/org/traccar/ServerManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java index 94e68b7da..18535307c 100644 --- a/src/org/traccar/ServerManager.java +++ b/src/org/traccar/ServerManager.java @@ -482,7 +482,7 @@ public class ServerManager { serverList.add(new TrackerServer(this, new ServerBootstrap(), protocol) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { - byte delimiter[] = { (byte) '#', (byte) '#' }; + byte delimiter[] = { (byte) '#', (byte) '#', (byte) '#' }; pipeline.addLast("frameDecoder", new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter))); pipeline.addLast("stringDecoder", new StringDecoder()); |