aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-08-02 01:26:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-08-02 01:26:23 +1200
commit42cc50d51a5eda8f8de787a3230b8591b62d62b8 (patch)
tree6c237cb731b0aed4216dccf2952911b8782002e3 /src
parentba7ae0c0b49b61805d21df6b64df9d013c396176 (diff)
downloadtrackermap-server-42cc50d51a5eda8f8de787a3230b8591b62d62b8.tar.gz
trackermap-server-42cc50d51a5eda8f8de787a3230b8591b62d62b8.tar.bz2
trackermap-server-42cc50d51a5eda8f8de787a3230b8591b62d62b8.zip
Fix TK103 course regex pattern
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/Tk103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
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