aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorLucas V C Nicolau <lcsvcn@users.noreply.github.com>2019-11-25 14:15:21 -0300
committerGitHub <noreply@github.com>2019-11-25 14:15:21 -0300
commitf0bc9d0ac59d23e6c2aa2b05743ab0ded0f13b5e (patch)
tree1c8d2c06d2299c636bcddbd9e2a044589f8ed6e6 /src/main/java/org
parent3a4935f8e1c1631bb9582d384cdd649f976e72db (diff)
downloadtrackermap-server-f0bc9d0ac59d23e6c2aa2b05743ab0ded0f13b5e.tar.gz
trackermap-server-f0bc9d0ac59d23e6c2aa2b05743ab0ded0f13b5e.tar.bz2
trackermap-server-f0bc9d0ac59d23e6c2aa2b05743ab0ded0f13b5e.zip
Update Xrb28ProtocolDecoder.java
accept also 1
Diffstat (limited to 'src/main/java/org')
-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..31cb77293 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