From 994fd7a2d3ffeb4d46bc92d0178dffd87a64f9a9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 15 Apr 2021 20:40:54 -0700 Subject: Fix event decoding --- src/main/java/org/traccar/protocol/StartekProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org') 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) -- cgit v1.2.3