aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TelicProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-06-23 11:54:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-06-23 11:54:24 +1200
commit36f04b88fc965a2f31e5d98f95cb37af15e8dc05 (patch)
tree2876c2912aadc2aba537068178f0381d05705b1f /src/org/traccar/protocol/TelicProtocolDecoder.java
parenta445733519b4b38b52b03fbb63a55c7270cb9221 (diff)
downloadtrackermap-server-36f04b88fc965a2f31e5d98f95cb37af15e8dc05.tar.gz
trackermap-server-36f04b88fc965a2f31e5d98f95cb37af15e8dc05.tar.bz2
trackermap-server-36f04b88fc965a2f31e5d98f95cb37af15e8dc05.zip
Fix Telic power decoding (fix #1735)
Diffstat (limited to 'src/org/traccar/protocol/TelicProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TelicProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/TelicProtocolDecoder.java b/src/org/traccar/protocol/TelicProtocolDecoder.java
index b8929fae5..be4c80b84 100644
--- a/src/org/traccar/protocol/TelicProtocolDecoder.java
+++ b/src/org/traccar/protocol/TelicProtocolDecoder.java
@@ -52,6 +52,7 @@ public class TelicProtocolDecoder extends BaseProtocolDecoder {
.number("(d+),") // satellites
.expression("(?:[^,]*,){7}")
.number("(d+),") // battery
+ .expression("[^,]*,")
.number("(d+),") // external
.any()
.compile();