aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/H02ProtocolDecoder.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/org/traccar/protocol/H02ProtocolDecoder.java
index b78f21d8d..465bf8395 100644
--- a/src/org/traccar/protocol/H02ProtocolDecoder.java
+++ b/src/org/traccar/protocol/H02ProtocolDecoder.java
@@ -184,7 +184,9 @@ public class H02ProtocolDecoder extends BaseProtocolDecoder {
.number("(d+),")
.number("(d+)#")
.or()
- .any()
+ .expression(",.*")
+ .or()
+ .text("#")
.groupEnd()
.compile();