aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/protocol/V680ProtocolDecoder.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/V680ProtocolDecoder.java b/src/org/traccar/protocol/V680ProtocolDecoder.java
index ab70b477e..25c943e57 100644
--- a/src/org/traccar/protocol/V680ProtocolDecoder.java
+++ b/src/org/traccar/protocol/V680ProtocolDecoder.java
@@ -40,7 +40,7 @@ public class V680ProtocolDecoder extends BaseProtocolDecoder {
"([^#]*)#)?" + // User
"(\\d+)#" + // Fix
"([^#]+)#" + // Password
- "[^#]+#" +
+ "([^#]+)#" + // Event
"(\\d+)#" + // Packet number
"([^#]+)?#?" + // GSM base station
"(?:[^#]+#)?" +
@@ -107,6 +107,9 @@ public class V680ProtocolDecoder extends BaseProtocolDecoder {
// Password
extendedInfo.set("password", parser.group(index++));
+ // Event
+ extendedInfo.set("event", parser.group(index++));
+
// Packet number
extendedInfo.set("packet", parser.group(index++));