aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2014-05-19 18:54:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2014-05-19 18:54:05 +1200
commite5549d271325639bae97dc3591ff09bf271cf43c (patch)
treefbf58a5de709d94eb0d9be350a9eee3377e178d9 /src/org/traccar
parent4d01f322be1c49f7a057bda6e9ce7e492b9b7311 (diff)
downloadtraccar-server-e5549d271325639bae97dc3591ff09bf271cf43c.tar.gz
traccar-server-e5549d271325639bae97dc3591ff09bf271cf43c.tar.bz2
traccar-server-e5549d271325639bae97dc3591ff09bf271cf43c.zip
Support Single LED device
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/Tk103ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
index fbcc702b8..200a1855c 100644
--- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
@@ -45,8 +45,8 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder {
"([EW]),?" +
"(\\d+\\.\\d)(?:\\d*,)?" + // Speed
"(\\d{2})(\\d{2})(\\d{2}),?" + // Time (HHMMSS)
- "(\\d+\\.?\\d+)" + // Course
- "([0-9a-fA-F]{8})?" + // State
+ "(\\d+\\.?\\d+),?" + // Course
+ "([0-9a-fA-F]{8})?,?" + // State
"(?:L([0-9a-fA-F]+))?"); // Milage
@Override