aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/T55ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-01-11 17:00:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2014-01-11 17:00:02 +1300
commita52e44a9b102af054a281c7b5ee471e2a38a4753 (patch)
treee620118c533d212ccc1f1ff1e979de3d7e29110a /src/org/traccar/protocol/T55ProtocolDecoder.java
parente0f4cf776229c8f458c672618eb14ec055227978 (diff)
downloadtrackermap-server-a52e44a9b102af054a281c7b5ee471e2a38a4753.tar.gz
trackermap-server-a52e44a9b102af054a281c7b5ee471e2a38a4753.tar.bz2
trackermap-server-a52e44a9b102af054a281c7b5ee471e2a38a4753.zip
Fix new TRCCR format
Diffstat (limited to 'src/org/traccar/protocol/T55ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/T55ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/org/traccar/protocol/T55ProtocolDecoder.java
index f055ec240..3c4a9500b 100644
--- a/src/org/traccar/protocol/T55ProtocolDecoder.java
+++ b/src/org/traccar/protocol/T55ProtocolDecoder.java
@@ -78,7 +78,7 @@ public class T55ProtocolDecoder extends BaseProtocolDecoder {
"(\\d+\\.\\d+)," + // Speed
"(\\d+\\.\\d+)," + // Course
"(-?\\d+\\.\\d+)," + // Altitude
- "(\\d+\\.\\d+)," + // Battery
+ "(\\d+\\.?\\d*)," + // Battery
".+");
@Override