aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TelicProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-30 06:49:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-03-30 06:49:15 +1300
commit6461a7fad516e46250daca301305f36ba8bab8e6 (patch)
tree8662d707d65acf5eba11792f42d257343bb61edb /src/org/traccar/protocol/TelicProtocolDecoder.java
parentd344bd8061dd15b0613a7f628decbd8bca3df095 (diff)
downloadtrackermap-server-6461a7fad516e46250daca301305f36ba8bab8e6.tar.gz
trackermap-server-6461a7fad516e46250daca301305f36ba8bab8e6.tar.bz2
trackermap-server-6461a7fad516e46250daca301305f36ba8bab8e6.zip
Fix another Telic issue
Diffstat (limited to 'src/org/traccar/protocol/TelicProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TelicProtocolDecoder.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/org/traccar/protocol/TelicProtocolDecoder.java b/src/org/traccar/protocol/TelicProtocolDecoder.java
index dd20932d9..579a6466b 100644
--- a/src/org/traccar/protocol/TelicProtocolDecoder.java
+++ b/src/org/traccar/protocol/TelicProtocolDecoder.java
@@ -53,8 +53,6 @@ public class TelicProtocolDecoder extends BaseProtocolDecoder {
.number("(d+)?,") // satellites
.expression("(?:[^,]*,){7}")
.number("(d+),") // battery
- .expression("[^,]*,")
- .number("(d+)?") // external
.any()
.compile();
@@ -131,10 +129,6 @@ public class TelicProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_BATTERY, parser.nextInt());
- if (parser.hasNext()) {
- position.set(Position.KEY_POWER, parser.nextInt());
- }
-
return position;
}