aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorian <ian@DESKTOP-JGEKPVQ>2019-10-29 17:46:35 +0000
committerian <ian@DESKTOP-JGEKPVQ>2019-10-29 17:46:35 +0000
commitee54c85227835946ddf5012c45fe43119cf93848 (patch)
tree13647fe511142e8b8931b9301d1fb808d71d107c /src/main
parent3e36fcdb303f4c7af2df8e859f8fc6b1c7ba3fd0 (diff)
downloadtrackermap-server-ee54c85227835946ddf5012c45fe43119cf93848.tar.gz
trackermap-server-ee54c85227835946ddf5012c45fe43119cf93848.tar.bz2
trackermap-server-ee54c85227835946ddf5012c45fe43119cf93848.zip
Allow negative number in cell data (signal strength?)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/H02ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
index 137689a67..3143a7c43 100644
--- a/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
@@ -223,7 +223,7 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder {
.number("(d+),") // mnc
.number("d+,") // gsm delay time
.number("d+,") // count
- .number("((?:d+,d+,d+,)+)") // cells
+ .number("((?:d+,d+,-?d+,)+)") // cells
.number("(dd)(dd)(dd),") // date (ddmmyy)
.number("(x{8})") // status
.any()