aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-03-02 21:02:06 -0800
committerAnton Tananaev <anton@traccar.org>2022-03-02 21:02:06 -0800
commit8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a (patch)
tree3d9b2b6be3690aa20a0fbb6b3e4758eb70eba92d /src/main/java/org
parenta28e97150614a23e8a492e9379a579aa7240a0cd (diff)
downloadtrackermap-server-8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a.tar.gz
trackermap-server-8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a.tar.bz2
trackermap-server-8561b2480c2a0c7d87a5dbbb789e180b4c61fb0a.zip
Decode GL200 validity flag
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
index 7ce0c425d..280986165 100644
--- a/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
@@ -377,6 +377,7 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder {
.number("(?:[0-9A-Z]{2}xxxx)?,").optional() // protocol version
.number("(d{15}|x{14}),") // imei
.any()
+ .text(",")
.number("(d{1,2})?,") // hdop
.number("(d{1,3}.d)?,") // speed
.number("(d{1,3})?,") // course