diff options
author | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-11-23 23:47:03 +0100 |
---|---|---|
committer | Valerii Vyshniak <valeravi@vi-soft.com.ua> | 2017-11-23 23:47:03 +0100 |
commit | 3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf (patch) | |
tree | 885055f5694e0611b1f9a7f9b04a08fca4bf9372 /src | |
parent | 2d3d5a8012cc90cfe1941cd4208ce23961fd936a (diff) | |
download | traccar-server-3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf.tar.gz traccar-server-3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf.tar.bz2 traccar-server-3f2edfa6a8adfaee74884612d1c2f0b4bbd4acaf.zip |
T580W: move frame start symbol handling from tk103 protocol decoder to frame decoder
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/Tk103ProtocolDecoder.java | 5 |
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); |