From 42cc50d51a5eda8f8de787a3230b8591b62d62b8 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 2 Aug 2018 01:26:23 +1200 Subject: Fix TK103 course regex pattern --- src/org/traccar/protocol/Tk103ProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol') diff --git a/src/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/org/traccar/protocol/Tk103ProtocolDecoder.java index fd208d526..2bcd62407 100644 --- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java +++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java @@ -54,7 +54,7 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder { .expression("([EW]),?") .number("(d+.d)(?:d*,)?") // speed .number("(dd)(dd)(dd),?") // time (hhmmss) - .number("(d+.?d{1,2}),?") // course + .number("(d+.?d{1,4}),?") // course .groupBegin() .number("([01])") // charge .number("([01])") // ignition -- cgit v1.2.3