aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-01-15 21:05:56 -0800
committerGitHub <noreply@github.com>2020-01-15 21:05:56 -0800
commita5a4a31a8826998ff479294ea3885dd4a124f3e8 (patch)
tree68b58ad1c224a6de73446f12c3fc0620a89e0527 /src/main/java
parent10ce85ef9eed15276534938c7a18c04cb18ca7f2 (diff)
parent8f6205556add7ac258a740c644ecdb0496f91869 (diff)
downloadtrackermap-server-a5a4a31a8826998ff479294ea3885dd4a124f3e8.tar.gz
trackermap-server-a5a4a31a8826998ff479294ea3885dd4a124f3e8.tar.bz2
trackermap-server-a5a4a31a8826998ff479294ea3885dd4a124f3e8.zip
Merge pull request #4429 from IanCassTwo/nbr-negative
Allow negative number in cell data (signal strength?)
Diffstat (limited to 'src/main/java')
-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 529643f6c..320fe991d 100644
--- a/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
@@ -224,7 +224,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()