aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/GoSafeProtocolDecoder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
index d32322d48..cba045122 100644
--- a/src/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
@@ -64,11 +64,14 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder {
.xpr(",?")
.groupEnd(false)
.groupBegin()
+ .txt("GSM:").not(",").xpr(",?")
+ .groupEnd(true)
+ .groupBegin()
.txt("COT:")
.num("(d+)") // odometer
.opn(";d+:d+:d+") // engine hours
.xpr(",?")
- .groupEnd(false)
+ .groupEnd(true)
.groupBegin()
.txt("ADC:")
.num("(d+.d+);") // power