aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-11-25 10:36:33 -0800
committerGitHub <noreply@github.com>2019-11-25 10:36:33 -0800
commit1ee9a1b00b5fc82ad493b48f818acbeedb8cff75 (patch)
tree5510a982581623cba20c1114841fc2c998a5634a /src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
parente3aceea851c2c2b234b56cbef38e6c16f33726a0 (diff)
parent3ee1cb4560bc989275061badf9b916c0ed367ae1 (diff)
downloadtrackermap-server-1ee9a1b00b5fc82ad493b48f818acbeedb8cff75.tar.gz
trackermap-server-1ee9a1b00b5fc82ad493b48f818acbeedb8cff75.tar.bz2
trackermap-server-1ee9a1b00b5fc82ad493b48f818acbeedb8cff75.zip
Merge pull request #4449 from lcsvcn/master
Update XRB28 regex pattern
Diffstat (limited to 'src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
index 938394d6b..69e5b7372 100644
--- a/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
@@ -47,7 +47,7 @@ public class Xrb28ProtocolDecoder extends BaseProtocolDecoder {
.expression("..,") // vendor
.number("d{15},") // imei
.expression("..,") // type
- .number("0,") // reserved
+ .number("[01],") // reserved
.number("(dd)(dd)(dd).d+,") // time (hhmmss)
.expression("([AV]),") // validity
.number("(dd)(dd.d+),") // latitude