aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-09-06 12:37:37 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-09-06 12:37:37 +1200
commitc469f9dcf20f9724a01654431eb0c05780cb42d2 (patch)
treec925083ab0b8c7e946db2259a8ea03c14ef4aef5 /src/org/traccar/protocol
parent74ad2ac02d59e0f809fb045eff96190c005f6e47 (diff)
downloadtrackermap-server-c469f9dcf20f9724a01654431eb0c05780cb42d2.tar.gz
trackermap-server-c469f9dcf20f9724a01654431eb0c05780cb42d2.tar.bz2
trackermap-server-c469f9dcf20f9724a01654431eb0c05780cb42d2.zip
Support UDP for TK103 (fix #828)
Diffstat (limited to 'src/org/traccar/protocol')
-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 c699a247c..d3220368a 100644
--- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
@@ -47,7 +47,7 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder {
"(\\d{2})(\\d{2})(\\d{2}),?" + // Time (HHMMSS)
"(\\d+\\.?\\d+),?" + // Course
"([0-9a-fA-F]{8})?,?" + // State
- "(?:L([0-9a-fA-F]+))?"); // Milage
+ "(?:L([0-9a-fA-F]+))?\\)?"); // Milage
@Override
protected Object decode(