aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorValerii Vyshniak <valeravi@vi-soft.com.ua>2017-11-23 23:47:03 +0100
committerValerii Vyshniak <valeravi@vi-soft.com.ua>2017-11-23 23:47:03 +0100
commit3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf (patch)
tree885055f5694e0611b1f9a7f9b04a08fca4bf9372 /src/org
parent2d3d5a8012cc90cfe1941cd4208ce23961fd936a (diff)
downloadtrackermap-server-3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf.tar.gz
trackermap-server-3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf.tar.bz2
trackermap-server-3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf.zip
T580W: move frame start symbol handling from tk103 protocol decoder to frame decoder
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/Tk103ProtocolDecoder.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
index 2fc6bf8d5..d75e019c8 100644
--- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
@@ -348,11 +348,6 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder {
String sentence = (String) msg;
- int beginIndex = sentence.indexOf('(');
- if (beginIndex != -1) {
- sentence = sentence.substring(beginIndex + 1);
- }
-
if (channel != null) {
String id = sentence.substring(0, 12);
String type = sentence.substring(12, 16);