aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-02-28 09:12:30 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-02-28 09:12:30 -0800
commita48c68d4b5fb522081c9182713a4088a66317964 (patch)
tree6c6f6ab29f4d9ab2251563734eddd3e70343d868 /src
parent0dcb514f3a0cb66e8c3e4e7b60c9374b2579f7d2 (diff)
downloadtrackermap-server-a48c68d4b5fb522081c9182713a4088a66317964.tar.gz
trackermap-server-a48c68d4b5fb522081c9182713a4088a66317964.tar.bz2
trackermap-server-a48c68d4b5fb522081c9182713a4088a66317964.zip
Fix ITS status decoding
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/ItsProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
index e8d77f1a8..6a107d67d 100644
--- a/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
@@ -51,7 +51,7 @@ public class ItsProtocolDecoder extends BaseProtocolDecoder {
.groupEnd()
.number("(d{15}),") // imei
.groupBegin()
- .expression("(..),") // status
+ .expression("([^,]{2}),") // status
.or()
.expression("[^,]*,") // vehicle registration
.number("([01]),").optional() // valid