diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-16 14:53:05 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-16 14:53:05 +1200 |
commit | 1498b5c5a00c575ba67dce2dcfac0d77a8b4964a (patch) | |
tree | 5a3746b585e524b1f2a306b1009b30988fe314ea /src | |
parent | 5c127eee77815eabc5c99ee45b2767a0e61553a9 (diff) | |
download | traccar-server-1498b5c5a00c575ba67dce2dcfac0d77a8b4964a.tar.gz traccar-server-1498b5c5a00c575ba67dce2dcfac0d77a8b4964a.tar.bz2 traccar-server-1498b5c5a00c575ba67dce2dcfac0d77a8b4964a.zip |
Fix H02 status code decoding
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/H02ProtocolDecoder.java | 4 |
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(); |