aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-04-15 20:40:54 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-04-15 20:40:54 -0700
commit994fd7a2d3ffeb4d46bc92d0178dffd87a64f9a9 (patch)
tree79f36d510614ac37598b6ba1fb461c61b543546a /src/main/java/org/traccar
parente2531fc5c0d1d28c190ceeba6a0e8627b26d6c60 (diff)
downloadtrackermap-server-994fd7a2d3ffeb4d46bc92d0178dffd87a64f9a9.tar.gz
trackermap-server-994fd7a2d3ffeb4d46bc92d0178dffd87a64f9a9.tar.bz2
trackermap-server-994fd7a2d3ffeb4d46bc92d0178dffd87a64f9a9.zip
Fix event decoding
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r--src/main/java/org/traccar/protocol/StartekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
index 3868e96fe..b80c8e174 100644
--- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java
@@ -41,7 +41,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder {
.number("d+,") // length
.number("(d+),") // imei
.number("xxx,") // command
- .number("(d),") // event
+ .number("(d+),") // event
.expression("[^,]*,") // event data
.number("(dd)(dd)(dd)") // date (yyymmdd)
.number("(dd)(dd)(dd),") // time (hhmmss)