aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-28 07:31:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-28 07:31:15 +1300
commitb98b3370bf975501857f6300a4f140e05cd82d5f (patch)
treeb135324bf22a7462b135ef6e3b4978adbc0f382e /src/org
parent85c43a28405deab09a15ffbc8fcaa38570b69cf8 (diff)
downloadtrackermap-server-b98b3370bf975501857f6300a4f140e05cd82d5f.tar.gz
trackermap-server-b98b3370bf975501857f6300a4f140e05cd82d5f.tar.bz2
trackermap-server-b98b3370bf975501857f6300a4f140e05cd82d5f.zip
Fix GoSafe G6S and G3S decoding
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/GoSafeProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
index 13ce839ea..44dfb08a2 100644
--- a/src/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/org/traccar/protocol/GoSafeProtocolDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org)
+ * Copyright 2015 - 2018 Anton Tananaev (anton@traccar.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@ public class GoSafeProtocolDecoder extends BaseProtocolDecoder {
.groupBegin()
.text("COT:")
.number("(d+)") // odometer
- .number("(?:;d+:d+:d+)?") // engine hours
+ .number("(?:;d+-d+-d+)?") // engine hours
.expression(",?")
.groupEnd("?")
.groupBegin()