diff options
author | Kevin Goos <kevingoos@telenet.be> | 2018-03-21 10:38:43 +0100 |
---|---|---|
committer | Kevin Goos <kevingoos@telenet.be> | 2018-03-21 10:38:43 +0100 |
commit | 38d7bd680614d02dec49d6f53b5e054380e374d6 (patch) | |
tree | 32272f111e46ba9fb56145652164889443647d59 /src | |
parent | 64e342442d74116c2247d85467e49722b7ab45ef (diff) | |
download | trackermap-server-38d7bd680614d02dec49d6f53b5e054380e374d6.tar.gz trackermap-server-38d7bd680614d02dec49d6f53b5e054380e374d6.tar.bz2 trackermap-server-38d7bd680614d02dec49d6f53b5e054380e374d6.zip |
Fixed battery regex
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/LaipacProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/LaipacProtocolDecoder.java b/src/org/traccar/protocol/LaipacProtocolDecoder.java index 0a7df26fa..3e6037422 100644 --- a/src/org/traccar/protocol/LaipacProtocolDecoder.java +++ b/src/org/traccar/protocol/LaipacProtocolDecoder.java @@ -48,7 +48,7 @@ public class LaipacProtocolDecoder extends BaseProtocolDecoder { .number("(d+.d+),") // course .number("(dd)(dd)(dd),") // date (ddmmyy) .expression("([abZXTSMHFE86430]),") // event code - .number("(d.+),") // battery voltage + .expression("([\\d.]+),") // battery voltage .number("(d+),") // current mileage .number("(d),") // GPS on/off (1 = on, 0 = off) .number("(d+),") // Analog port 1 |