From 6461a7fad516e46250daca301305f36ba8bab8e6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 30 Mar 2017 06:49:15 +1300 Subject: Fix another Telic issue --- src/org/traccar/protocol/TelicProtocolDecoder.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/org') 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; } -- cgit v1.2.3