diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-02-28 09:12:30 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-02-28 09:12:30 -0800 |
commit | a48c68d4b5fb522081c9182713a4088a66317964 (patch) | |
tree | 6c6f6ab29f4d9ab2251563734eddd3e70343d868 /src | |
parent | 0dcb514f3a0cb66e8c3e4e7b60c9374b2579f7d2 (diff) | |
download | trackermap-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.java | 2 |
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 |