diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-08 23:56:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-09-08 23:56:00 +1200 |
commit | 12586966b63f58e5a008b17f8689110fcd3f5809 (patch) | |
tree | 26ffd483167487a8d87113bec0d2d764a2a6aeca /src/org/traccar | |
parent | 2721bf4adc12eeacf19c00af30e266ae65e6a4a9 (diff) | |
download | trackermap-server-12586966b63f58e5a008b17f8689110fcd3f5809.tar.gz trackermap-server-12586966b63f58e5a008b17f8689110fcd3f5809.tar.bz2 trackermap-server-12586966b63f58e5a008b17f8689110fcd3f5809.zip |
Fix H02 simple message decoding
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/H02ProtocolDecoder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java index c31f9edbb..aea8f0b3b 100644 --- a/src/org/traccar/protocol/H02ProtocolDecoder.java +++ b/src/org/traccar/protocol/H02ProtocolDecoder.java @@ -152,7 +152,6 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { .number("(d+),") // imei .groupBegin() .text("VP1,") - .expression("[ABV],") .or() .groupBegin() .text("V1,") @@ -164,7 +163,7 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder { .groupEnd() .number("(?:(dd)(dd)(dd))?,") // time (hhmmss) .groupEnd() - .expression("([AV])?,") // validity + .expression("([ABV])?,") // validity .groupBegin() .number("-(d+)-(d+.d+),") // latitude .or() |