aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-21 16:24:21 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-21 16:24:21 +1200
commit1d64602c49e495bfa97059b0ac4d657ffc9c75e1 (patch)
treec05e3d1dc6b0369b0aafbfc3f144fa74e5cb6571 /src
parentb6b9f360a96b8d3c42df35454f76095cb7e360cb (diff)
downloadtrackermap-server-1d64602c49e495bfa97059b0ac4d657ffc9c75e1.tar.gz
trackermap-server-1d64602c49e495bfa97059b0ac4d657ffc9c75e1.tar.bz2
trackermap-server-1d64602c49e495bfa97059b0ac4d657ffc9c75e1.zip
Fix new Totem format decoding
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/TotemProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java
index a22bbf71e..5e9557189 100644
--- a/src/org/traccar/protocol/TotemProtocolDecoder.java
+++ b/src/org/traccar/protocol/TotemProtocolDecoder.java
@@ -59,7 +59,7 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
"(\\d{3})" + // Battery
"(\\d{4})\\|" + // External Power
"(?:(\\d+)\\|)?" + // ADC
- "(\\p{XDigit}{8})\\|" + // Location Code
+ "(\\p{XDigit}+)\\|" + // Location Code
"(\\d+)\\|" + // Temperature
"(\\d+.\\d+)\\|" + // Odometer
"\\d+\\|" + // Serial Number